Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git.el: Run git-rerere on commits if the rr-cache directory exists.
author
Alexandre Julliard
<julliard@winehq.org>
Sat, 22 Jul 2006 13:39:02 +0000
(15:39 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 24 Jul 2006 06:35:29 +0000
(23:35 -0700)
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/emacs/git.el
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
d0d8f7d
)
diff --git
a/contrib/emacs/git.el
b/contrib/emacs/git.el
index 34c995046d8cd783cf165e8d2e40cb0d11f85f59..7371d4b46333e7c924f4a9ea3572be7b0e85071f 100644
(file)
--- a/
contrib/emacs/git.el
+++ b/
contrib/emacs/git.el
@@
-584,6
+584,8
@@
and returns the process output as a string."
(condition-case nil (delete-file ".git/MERGE_HEAD") (error nil))
(with-current-buffer buffer (erase-buffer))
(git-set-files-state files 'uptodate)
+ (when (file-directory-p ".git/rr-cache")
+ (git-run-command nil nil "rerere"))
(git-refresh-files)
(git-refresh-ewoc-hf git-status)
(message "Committed %s." commit))