diff options
author | Tim Schumacher <timschumi2@arcor.de> | 2017-06-28 18:29:23 +0200 |
---|---|---|
committer | Tim Schumacher <timschumi2@arcor.de> | 2017-07-15 16:44:55 +0000 |
commit | 7be072efa6522a94ee0bab16539a442cc4713d65 (patch) | |
tree | 96c5577a829b6df2e7b2fd5f6ea35e7ba6177a26 /subcmds/sync.py | |
parent | 224a31a765eb943443640301a715d2d4eb005b79 (diff) | |
download | git-repo-7be072efa6522a94ee0bab16539a442cc4713d65.tar.gz |
Always print percentage when syncing quietly
Change-Id: I574396e63520781067ed1e991c41caf7640e5731
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r-- | subcmds/sync.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index d4432ce8..402aff67 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -357,7 +357,8 @@ later is required to fix a server side protocol bug. | |||
357 | fetched = set() | 357 | fetched = set() |
358 | lock = _threading.Lock() | 358 | lock = _threading.Lock() |
359 | pm = Progress('Fetching projects', len(projects), | 359 | pm = Progress('Fetching projects', len(projects), |
360 | print_newline=not(opt.quiet)) | 360 | print_newline=not(opt.quiet), |
361 | always_print_percentage=opt.quiet) | ||
361 | 362 | ||
362 | objdir_project_map = dict() | 363 | objdir_project_map = dict() |
363 | for project in projects: | 364 | for project in projects: |