summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-03-05 23:11:54 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2007-03-05 23:11:54 -0800
commit31930b5beece8ff86f823b62cf0937e73e9494fa (patch)
tree3513d06f4ea98ba7c838fc86969235f5fe86f3f2
parentMerge branch 'master-for-junio' of git://repo.or.cz/git/fastimport; branch 'm... (diff)
parentgit-commit: cd to top before showing the final stat (diff)
downloadtgif-31930b5beece8ff86f823b62cf0937e73e9494fa.tar.xz
Merge branch 'maint'
* maint: git-commit: cd to top before showing the final stat
-rwxr-xr-xgit-commit.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-commit.sh b/git-commit.sh
index be3677c204..b8c00b8236 100755
--- a/git-commit.sh
+++ b/git-commit.sh
@@ -622,6 +622,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