]> code.delx.au - gnu-emacs/commit
Support the new log-edit behavior in vc-git-log-edit-toggle-amend
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 2 Dec 2013 22:13:51 +0000 (00:13 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 2 Dec 2013 22:13:51 +0000 (00:13 +0200)
commit0f457a371c67e28f4eb7ddc60750169badc7f8d8
tree696e3576cafd00991c061cf6bde1f4b0b983756c
parent2595af33fce43121ddb0c2a2d5bb85b2e1b4b61a
Support the new log-edit behavior in vc-git-log-edit-toggle-amend

* lisp/vc/log-edit.el (log-edit-set-header): Extract from
`log-edit-toggle-header'.
(log-edit-extract-headers): Separate the summary, when extracted
from header, from the rest of the message with an empty line.

* lisp/vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
line, if present, to the Summary header.
lisp/ChangeLog
lisp/vc/log-edit.el
lisp/vc/vc-git.el