{"thread":{"id":"4945","subject":"[PATCH 1/4] git.el: Run git-rerere on commits if the rr-cache directory exists.","startedAt":"2006-07-22T13:39:02Z","lastAt":"2006-07-22T13:39:02Z","messageCount":1,"participants":["Alexandre Julliard"],"isPatch":true,"patchVersion":1,"patchTotal":4},"messages":[{"id":"23991","messageId":"877j25hi89.fsf@wine.dyndns.org","threadId":"4945","inReplyTo":null,"subject":"[PATCH 1/4] git.el: Run git-rerere on commits if the rr-cache directory exists.","fromName":"Alexandre Julliard","fromEmail":"julliard@winehq.org","sentAt":"2006-07-22T13:39:02Z","receivedAt":"2006-07-22T13:39:02Z","isPatch":true,"sender":{"key":"julliard@winehq.org","avatar":null},"body":"Signed-off-by: Alexandre Julliard <julliard@winehq.org>\n---\n contrib/emacs/git.el |    2 ++\n 1 files changed, 2 insertions(+), 0 deletions(-)\n\ndiff --git a/contrib/emacs/git.el b/contrib/emacs/git.el\nindex 34c9950..7371d4b 100644\n--- a/contrib/emacs/git.el\n+++ b/contrib/emacs/git.el\n@@ -584,6 +584,8 @@ (defun git-do-commit ()\n                             (condition-case nil (delete-file \".git/MERGE_HEAD\") (error nil))\n                             (with-current-buffer buffer (erase-buffer))\n                             (git-set-files-state files 'uptodate)\n+                            (when (file-directory-p \".git/rr-cache\")\n+                              (git-run-command nil nil \"rerere\"))\n                             (git-refresh-files)\n                             (git-refresh-ewoc-hf git-status)\n                             (message \"Committed %s.\" commit))\n-- \n1.4.2.rc1.ge7a0\n\n-- \nAlexandre Julliard\njulliard@winehq.org\n"}]}