From: Junio C Hamano Date: Mon, 5 Mar 2007 20:35:41 +0000 (-0800) Subject: git-commit: cd to top before showing the final stat X-Git-Tag: v1.5.0.4~18 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c93d88a574220c00954e3694bd78181b8b95249a;p=git.git git-commit: cd to top before showing the final stat Signed-off-by: Junio C Hamano --- diff --git a/git-commit.sh b/git-commit.sh index 476f4f18d..cad16a5e8 100755 --- a/git-commit.sh +++ b/git-commit.sh @@ -621,6 +621,9 @@ else fi ret="$?" rm -f "$GIT_DIR/COMMIT_MSG" "$GIT_DIR/COMMIT_EDITMSG" "$GIT_DIR/SQUASH_MSG" + +cd_to_toplevel + if test -d "$GIT_DIR/rr-cache" then git-rerere