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-05 23:35:41 +0300
committerJunio C Hamano <junkio@cox.net>2007-03-06 10:11:19 +0300
commitc93d88a574220c00954e3694bd78181b8b95249a (patch)
treeab79bf776457ff95ceb29e28d136d2deeddbe7e8 /git-commit.sh
parentb8105375abfeee54e0a34e1c290983fd15e743cf (diff)
git-commit: cd to top before showing the final stat
Signed-off-by: Junio C Hamano <junkio@cox.net>
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 476f4f18db..cad16a5e86 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