From c93d88a574220c00954e3694bd78181b8b95249a Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 5 Mar 2007 12:35:41 -0800 Subject: [PATCH] git-commit: cd to top before showing the final stat Signed-off-by: Junio C Hamano --- git-commit.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2