summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-03-06 07:11:54 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-03-06 07:11:54 (GMT)
commit31930b5beece8ff86f823b62cf0937e73e9494fa (patch)
tree3513d06f4ea98ba7c838fc86969235f5fe86f3f2
parent99e6ac503b175ef38ca98e88a6ec1e290ad79d69 (diff)
parentc93d88a574220c00954e3694bd78181b8b95249a (diff)
downloadgit-31930b5beece8ff86f823b62cf0937e73e9494fa.zip
git-31930b5beece8ff86f823b62cf0937e73e9494fa.tar.gz
git-31930b5beece8ff86f823b62cf0937e73e9494fa.tar.bz2
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 be3677c..b8c00b8 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