summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2ac2b19)
raw | patch | inline | side by side (parent: 2ac2b19)
author | Alexandre Julliard <julliard@winehq.org> | |
Fri, 3 Nov 2006 16:42:43 +0000 (17:42 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 4 Nov 2006 09:50:35 +0000 (01:50 -0800) |
This lets us take advantage of the fact that git-cherry-pick now saves
the message in MERGE_MSG too.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
the message in MERGE_MSG too.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/emacs/git.el | patch | blob | history |
diff --git a/contrib/emacs/git.el b/contrib/emacs/git.el
index 6f3b46df9f7466f123dd3b6157b21bed00c9887d..972c402ea0e79405ef7123dcdf748eccf9e6f3f7 100644 (file)
--- a/contrib/emacs/git.el
+++ b/contrib/emacs/git.el
(let ((commit (git-commit-tree buffer tree head)))
(git-update-ref "HEAD" commit head)
(condition-case nil (delete-file ".git/MERGE_HEAD") (error nil))
+ (condition-case nil (delete-file ".git/MERGE_MSG") (error nil))
(with-current-buffer buffer (erase-buffer))
(git-set-files-state files 'uptodate)
(when (file-directory-p ".git/rr-cache")
'face 'git-header-face)
(propertize git-log-msg-separator 'face 'git-separator-face)
"\n")
- (cond ((and merge-heads (file-readable-p ".git/MERGE_MSG"))
+ (cond ((file-readable-p ".git/MERGE_MSG")
(insert-file-contents ".git/MERGE_MSG"))
(sign-off
(insert (format "\n\nSigned-off-by: %s <%s>\n"