bash prompt: print unique detached HEAD abbreviated object name
[gitweb.git] / git-rebase.sh
index 154d4be0a44bf1bd66a7d01921cc9f46cd9d91e2..2d5c2bd0fcf773367b892fbb993704e5f2089c64 100755 (executable)
@@ -547,6 +547,7 @@ then
                # Lazily switch to the target branch if needed...
                test -z "$switch_to" || git checkout "$switch_to" --
                say "$(eval_gettext "Current branch \$branch_name is up to date.")"
+               finish_rebase
                exit 0
        else
                say "$(eval_gettext "Current branch \$branch_name is up to date, rebase forced.")"