Skip to content

Commit 5d53433

Browse files
committed
Merge branch 'jk/rebase-quiet-noop' into maint
"git rebase --quiet" was not quite quiet when there is nothing to do. * jk/rebase-quiet-noop: rebase: silence "git checkout" for noop rebase
2 parents 23903b9 + 22946a9 commit 5d53433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-rebase.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ then
582582
# Lazily switch to the target branch if needed...
583583
test -z "$switch_to" ||
584584
GIT_REFLOG_ACTION="$GIT_REFLOG_ACTION: checkout $switch_to" \
585-
git checkout "$switch_to" --
585+
git checkout -q "$switch_to" --
586586
say "$(eval_gettext "Current branch \$branch_name is up to date.")"
587587
finish_rebase
588588
exit 0

0 commit comments

Comments
 (0)