aboutsummaryrefslogtreecommitdiff
path: root/git-commit.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-03-05 23:11:54 -0800
committerJunio C Hamano <junkio@cox.net>2007-03-05 23:11:54 -0800
commit31930b5beece8ff86f823b62cf0937e73e9494fa (patch)
tree3513d06f4ea98ba7c838fc86969235f5fe86f3f2 /git-commit.sh
parent99e6ac503b175ef38ca98e88a6ec1e290ad79d69 (diff)
parentc93d88a574220c00954e3694bd78181b8b95249a (diff)
downloadgit-31930b5beece8ff86f823b62cf0937e73e9494fa.tar.gz
git-31930b5beece8ff86f823b62cf0937e73e9494fa.tar.xz
Merge branch 'maint'
* maint: git-commit: cd to top before showing the final stat
Diffstat (limited to 'git-commit.sh')
-rwxr-xr-xgit-commit.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-commit.sh b/git-commit.sh
index be3677c20..b8c00b823 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