Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-commit: cd to top before showing the final stat
author
Junio C Hamano
<junkio@cox.net>
Mon, 5 Mar 2007 20:35:41 +0000
(12:35 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 6 Mar 2007 07:11:19 +0000
(23:11 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-commit.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
b810537
)
diff --git
a/git-commit.sh
b/git-commit.sh
index 476f4f18dbb76041fbbfe6243785ad4997a7e7c7..cad16a5e868730dd56f79baf711aed138d7cafe1 100755
(executable)
--- 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