Skip to content

Commit 31930b5

Browse files
author
Junio C Hamano
committed
Merge branch 'maint'
* maint: git-commit: cd to top before showing the final stat
2 parents 99e6ac5 + c93d88a commit 31930b5

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
@@ -622,6 +622,9 @@ else
622622
fi
623623
ret="$?"
624624
rm -f "$GIT_DIR/COMMIT_MSG" "$GIT_DIR/COMMIT_EDITMSG" "$GIT_DIR/SQUASH_MSG"
625+
626+
cd_to_toplevel
627+
625628
if test -d "$GIT_DIR/rr-cache"
626629
then
627630
git-rerere

0 commit comments

Comments
 (0)