projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
safe_fgets() - even more anal fgets()
[git.git]
/
git-commit.sh
diff --git
a/git-commit.sh
b/git-commit.sh
index
073ec81
..
59551d9
100755
(executable)
--- a/
git-commit.sh
+++ b/
git-commit.sh
@@
-638,7
+638,10
@@
else
fi
ret="$?"
rm -f "$GIT_DIR/COMMIT_MSG" "$GIT_DIR/COMMIT_EDITMSG"
fi
ret="$?"
rm -f "$GIT_DIR/COMMIT_MSG" "$GIT_DIR/COMMIT_EDITMSG"
-git-rerere
+if test -d "$GIT_DIR/rr-cache"
+then
+ git-rerere
+fi
if test -x "$GIT_DIR"/hooks/post-commit && test "$ret" = 0
then
if test -x "$GIT_DIR"/hooks/post-commit && test "$ret" = 0
then