Skip to content

Commit c93d88a

Browse files
author
Junio C Hamano
committed
git-commit: cd to top before showing the final stat
Signed-off-by: Junio C Hamano <[email protected]>
1 parent b810537 commit c93d88a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

git-commit.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,9 @@ else
621621
fi
622622
ret="$?"
623623
rm -f "$GIT_DIR/COMMIT_MSG" "$GIT_DIR/COMMIT_EDITMSG" "$GIT_DIR/SQUASH_MSG"
624+
625+
cd_to_toplevel
626+
624627
if test -d "$GIT_DIR/rr-cache"
625628
then
626629
git-rerere

0 commit comments

Comments
 (0)