Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-03-06 10:11:54 +0300
committerJunio C Hamano <junkio@cox.net>2007-03-06 10:11:54 +0300
commit31930b5beece8ff86f823b62cf0937e73e9494fa (patch)
tree3513d06f4ea98ba7c838fc86969235f5fe86f3f2 /git-commit.sh
parent99e6ac503b175ef38ca98e88a6ec1e290ad79d69 (diff)
parentc93d88a574220c00954e3694bd78181b8b95249a (diff)
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 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