diff options
| author | Russ Cox <rsc@golang.org> | 2021-09-21 10:05:04 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2022-01-27 19:37:11 +0000 |
| commit | 6c9968886cef395fe719e2a9bd89d9cb85aa66fb (patch) | |
| tree | 56860f4330702578a899c1db96c9b228d3996ac6 /git-codereview/sync_test.go | |
| parent | b04b288d5464253e76c11b8926cdb6721c25a073 (diff) | |
| download | go-x-review-1.0.3.tar.xz | |
git-codereview: disable message about skipped cherry-picks in syncv1.0.3
Sync very frequently is done to zero out submitted CLs.
New git versions print
hint: use --reapply-cherry-picks to include skipped commits
hint: Disable this message with "git config advice.skippedCherryPicks false"
This message is noise more often than signal, so disable it during sync.
Change-Id: Ida8867cbd614027f43bbbe6e6389a8920aae5293
Reviewed-on: https://go-review.googlesource.com/c/review/+/351209
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'git-codereview/sync_test.go')
| -rw-r--r-- | git-codereview/sync_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/git-codereview/sync_test.go b/git-codereview/sync_test.go index 31f4800..884168c 100644 --- a/git-codereview/sync_test.go +++ b/git-codereview/sync_test.go @@ -118,15 +118,15 @@ func TestSyncRebase(t *testing.T) { // also exercising -v parsing. testMain(t, "sync", "-v=true") testNoStdout(t) - testPrintedStderr(t, "git pull -q -r origin main") + testPrintedStderr(t, "git -c advice.skippedCherryPicks=false pull -q -r origin main") testMain(t, "sync", "-v=1") testNoStdout(t) - testPrintedStderr(t, "git pull -q -r origin main") + testPrintedStderr(t, "git -c advice.skippedCherryPicks=false pull -q -r origin main") testMain(t, "sync", "-v") testNoStdout(t) - testPrintedStderr(t, "git pull -q -r origin main") + testPrintedStderr(t, "git -c advice.skippedCherryPicks=false pull -q -r origin main") testMain(t, "sync", "-v=false") testNoStdout(t) |
