git-commit: cd to top before showing the final stat
Signed-off-by: Junio C Hamano <junkio@cox.net>maint
parent
b8105375ab
commit
c93d88a574
|
|
@ -621,6 +621,9 @@ else
|
||||||
fi
|
fi
|
||||||
ret="$?"
|
ret="$?"
|
||||||
rm -f "$GIT_DIR/COMMIT_MSG" "$GIT_DIR/COMMIT_EDITMSG" "$GIT_DIR/SQUASH_MSG"
|
rm -f "$GIT_DIR/COMMIT_MSG" "$GIT_DIR/COMMIT_EDITMSG" "$GIT_DIR/SQUASH_MSG"
|
||||||
|
|
||||||
|
cd_to_toplevel
|
||||||
|
|
||||||
if test -d "$GIT_DIR/rr-cache"
|
if test -d "$GIT_DIR/rr-cache"
|
||||||
then
|
then
|
||||||
git-rerere
|
git-rerere
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue