@matheusbsbs / matheus-bagliano / commits / 08f1675059
Fork 0

Use "git checkout -q" in git-bisect

Converts one use of git-checkout in git-bisect not to say "switching to branch". It looks like all the other cases it is friendlier to give notice to the end user. Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Feb 1, 2007 at 21:47 UTC 08f1675059c09b7ee0b8ed16bc059472d07bb9e5
1 file changed +1 -1
git-bisect.sh
+1 -1
@@ -152,7 +152,7 @@ bisect_next() {
152 nr=$(eval "git-rev-list $rev $good -- $(cat $GIT_DIR/BISECT_NAMES)" | wc -l) || exit
153 echo "Bisecting: $nr revisions left to test after this"
154 echo "$rev" > "$GIT_DIR/refs/heads/new-bisect"
155 - git checkout new-bisect || exit
155 + git checkout -q new-bisect || exit
156 mv "$GIT_DIR/refs/heads/new-bisect" "$GIT_DIR/refs/heads/bisect" &&
157 GIT_DIR="$GIT_DIR" git-symbolic-ref HEAD refs/heads/bisect
158 git-show-branch "$rev"