* [PATCH] git-commit: Only call git-rerere if $GIT_DIR/rr-cache exists
@ 2006-02-11 15:03 Johannes Schindelin
2006-02-11 21:16 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Schindelin @ 2006-02-11 15:03 UTC (permalink / raw
To: git, junkio
This makes an error go away if you do not have Digest.pm installed, but
do not intend to make use of git-rerere anyway.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
---
git-commit.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
111b9e1abeb98a8009a457fe8e7dff5a91b30778
diff --git a/git-commit.sh b/git-commit.sh
index 073ec81..28ec7c3 100755
--- a/git-commit.sh
+++ b/git-commit.sh
@@ -638,7 +638,7 @@ else
fi
ret="$?"
rm -f "$GIT_DIR/COMMIT_MSG" "$GIT_DIR/COMMIT_EDITMSG"
-git-rerere
+test -d "$GIT_DIR/rr-cache" && git-rerere
if test -x "$GIT_DIR"/hooks/post-commit && test "$ret" = 0
then
--
1.1.4.gaef2-dirty
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] git-commit: Only call git-rerere if $GIT_DIR/rr-cache exists
2006-02-11 15:03 [PATCH] git-commit: Only call git-rerere if $GIT_DIR/rr-cache exists Johannes Schindelin
@ 2006-02-11 21:16 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2006-02-11 21:16 UTC (permalink / raw
To: Johannes Schindelin; +Cc: git, junkio
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> This makes an error go away if you do not have Digest.pm installed, but
> do not intend to make use of git-rerere anyway.
Ah, I did not realize that dependency. Thanks.
I think there is at least one more place it does it.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-02-11 21:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-11 15:03 [PATCH] git-commit: Only call git-rerere if $GIT_DIR/rr-cache exists Johannes Schindelin
2006-02-11 21:16 ` Junio C Hamano
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).