; vc-git-modify-change-comment: Restore ignoring --amend
This was accidentally lost when installing this new feature on master.
This commit is contained in:
parent
c259db1d45
commit
e756d4373b
1 changed files with 2 additions and 1 deletions
|
@ -1986,7 +1986,8 @@ This requires git 1.8.4 or later, for the \"-L\" option of \"git log\"."
|
|||
|
||||
(defun vc-git-modify-change-comment (files rev comment)
|
||||
(vc-git--assert-allowed-rewrite rev)
|
||||
(let* ((args (vc-git--log-edit-extract-headers comment))
|
||||
(let* ((args (delete "--amend"
|
||||
(vc-git--log-edit-extract-headers comment)))
|
||||
(message (format "amend! %s\n\n%s" rev (pop args)))
|
||||
(msg-file
|
||||
;; On MS-Windows, pass the message through a file, to work
|
||||
|
|
Loading…
Add table
Reference in a new issue