diff options
author | Tomasz Wasilczyk <twasilczyk@google.com> | 2024-01-05 12:23:10 -0800 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2024-01-05 21:40:43 +0000 |
commit | 208f34495086eba60f744408aa26b4c62d6db6c6 (patch) | |
tree | ea9289ad709323b675edd7760bf07af6a501c406 /subcmds/sync.py | |
parent | 138c8a9ff543ce93c0e0a72581b255a0cb136994 (diff) | |
download | git-repo-208f34495086eba60f744408aa26b4c62d6db6c6.tar.gz |
Clean up remaining `repo sync` log spam.
There are still some verbose messages (e.g. "remote: ...") when doing
repo sync after a couple days. Let's hide them behind verbose flag.
Bug: N/A
Test: repo sync
Change-Id: I1408472c95ed80d9555adfe8f92211245c03cf41
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/400855
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Tested-by: Tomasz Wasilczyk <twasilczyk@google.com>
Commit-Queue: Tomasz Wasilczyk <twasilczyk@google.com>
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r-- | subcmds/sync.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index ac6a451b..ec4bf60d 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -618,7 +618,7 @@ later is required to fix a server side protocol bug. | |||
618 | 618 | ||
619 | if not use_super: | 619 | if not use_super: |
620 | continue | 620 | continue |
621 | m.superproject.SetQuiet(opt.quiet) | 621 | m.superproject.SetQuiet(not opt.verbose) |
622 | print_messages = git_superproject.PrintMessages( | 622 | print_messages = git_superproject.PrintMessages( |
623 | opt.use_superproject, m | 623 | opt.use_superproject, m |
624 | ) | 624 | ) |
@@ -1501,7 +1501,7 @@ later is required to fix a server side protocol bug. | |||
1501 | buf = TeeStringIO(sys.stdout) | 1501 | buf = TeeStringIO(sys.stdout) |
1502 | try: | 1502 | try: |
1503 | result = mp.Sync_NetworkHalf( | 1503 | result = mp.Sync_NetworkHalf( |
1504 | quiet=opt.quiet, | 1504 | quiet=not opt.verbose, |
1505 | output_redir=buf, | 1505 | output_redir=buf, |
1506 | verbose=opt.verbose, | 1506 | verbose=opt.verbose, |
1507 | current_branch_only=self._GetCurrentBranchOnly( | 1507 | current_branch_only=self._GetCurrentBranchOnly( |