Function: magit-merge-editmsg
magit-merge-editmsg is an autoloaded, interactive and byte-compiled
function defined in magit-merge.el.
Signature
(magit-merge-editmsg REV &optional ARGS)
Documentation
Merge commit REV into the current branch; and edit message.
Perform the merge and prepare a commit message but let the user edit it.
To create an octopus-merge, separate branches with commas.
(git merge --edit --no-ff [ARGS] REV)
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-merge.el
;;;###autoload
(defun magit-merge-editmsg (rev &optional args)
"Merge commit REV into the current branch; and edit message.
Perform the merge and prepare a commit message but let the user
edit it.
To create an octopus-merge, separate branches with commas.
\(git merge --edit --no-ff [ARGS] REV)"
(interactive (list (magit-read-other-branches-or-commits "Merge")
(magit-merge-arguments)))
(magit-merge-assert)
(cl-pushnew "--no-ff" args :test #'equal)
(magit-run-git-with-editor "merge" "--edit" (delete "--ff-only" args) rev))