git-commit: cd to top before showing the final stat
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Mar 5, 2007 at 12:35 UTC
c93d88a574220c00954e3694bd78181b8b95249a
1 file changed
+3
git-commit.sh
+3
@@ -621,6 +621,9 @@ else
621
fi
622
ret="$?"
623
rm -f "$GIT_DIR/COMMIT_MSG" "$GIT_DIR/COMMIT_EDITMSG" "$GIT_DIR/SQUASH_MSG"
624
+
625
+cd_to_toplevel
626
+
627
if test -d "$GIT_DIR/rr-cache"
628
then
629
git-rerere