go /
review /
23d79fed362c1f561ffe70ecadc2d814b4df1e4a git-review: hide read-only git commands from -v; show them with -v -v
Right now all the "gather information about what's going on" git commands
show up with the -v flag. If you are using the -v flag to learn what the
basic review operations do, all those state-gathering commands are noise,
and they make it hard to find the state-modifying commands.
Hide the state-gathering (read-only) commands with -v.
Make -v repeatable and show them with -v -v.
$ git sync -v
git fetch -q
git merge -q --ff-only origin/master
$ git sync -v -v
git fetch -q
git rev-parse --abbrev-ref HEAD
git rev-parse flags
git merge-base origin/master flags
git merge -q --ff-only origin/master
Change-Id: Iea28b4a4302bea614c3f542b491f0b302b378110
Reviewed-on: https://go-review.googlesource.com/1425
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
1 file changed