rebase: silence "git checkout" for noop rebase
[gitweb.git] / git-rebase.sh
index 47ca3b990ba38cf45de793d5c3186b36fa728e33..ba74d11941d3b714797d6a7bff6f85747b602e6a 100755 (executable)
@@ -581,7 +581,7 @@ then
                # Lazily switch to the target branch if needed...
                test -z "$switch_to" ||
                GIT_REFLOG_ACTION="$GIT_REFLOG_ACTION: checkout $switch_to" \
-                       git checkout "$switch_to" --
+                       git checkout -q "$switch_to" --
                say "$(eval_gettext "Current branch \$branch_name is up to date.")"
                finish_rebase
                exit 0