{"thread":{"id":"3301","subject":"[PATCH] git-commit: Only call git-rerere if $GIT_DIR/rr-cache exists","startedAt":"2006-02-11T15:03:04Z","lastAt":"2006-02-11T21:16:42Z","messageCount":2,"participants":["Johannes Schindelin","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"15924","messageId":"Pine.LNX.4.63.0602111602270.26560@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"3301","inReplyTo":null,"subject":"[PATCH] git-commit: Only call git-rerere if $GIT_DIR/rr-cache exists","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2006-02-11T15:03:04Z","receivedAt":"2006-02-11T15:03:04Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"\nThis makes an error go away if you do not have Digest.pm installed, but\ndo not intend to make use of git-rerere anyway.\n\nSigned-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>\n\n---\n\n git-commit.sh |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\n111b9e1abeb98a8009a457fe8e7dff5a91b30778\ndiff --git a/git-commit.sh b/git-commit.sh\nindex 073ec81..28ec7c3 100755\n--- a/git-commit.sh\n+++ b/git-commit.sh\n@@ -638,7 +638,7 @@ else\n fi\n ret=\"$?\"\n rm -f \"$GIT_DIR/COMMIT_MSG\" \"$GIT_DIR/COMMIT_EDITMSG\"\n-git-rerere\n+test -d \"$GIT_DIR/rr-cache\" && git-rerere\n \n if test -x \"$GIT_DIR\"/hooks/post-commit && test \"$ret\" = 0\n then\n-- \n1.1.4.gaef2-dirty\n"},{"id":"15941","messageId":"7vaccxlhol.fsf@assigned-by-dhcp.cox.net","threadId":"3301","inReplyTo":"Pine.LNX.4.63.0602111602270.26560@wbgn013.biozentrum.uni-wuerzburg.de","subject":"Re: [PATCH] git-commit: Only call git-rerere if $GIT_DIR/rr-cache exists","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-02-11T21:16:42Z","receivedAt":"2006-02-11T21:16:42Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:\n\n> This makes an error go away if you do not have Digest.pm installed, but\n> do not intend to make use of git-rerere anyway.\n\nAh, I did not realize that dependency.  Thanks.\nI think there is at least one more place it does it.\n"}]}