It's surprising that there is no way to configure this. You can choose whether the Author: header should appear, but Summary: is jammed in by default no matter what.
I had to redefine a function:
(load "log-edit")
(defun log-edit-insert-message-template ()
"Insert the default template."
(interactive)
(when (or (called-interactively-p 'interactive)
(log-edit-empty-buffer-p))
(when log-edit-setup-add-author
(insert "\nAuthor: "))
(message-position-point)))
Compared with the vanilla version in log-edit.el, I deleted the lines adding "Summary:" and "\n\n".
Loading log-edit
first is needed (if you put the above code in your .emacs
) because otherwise the new definition would be overwritten when that library is loaded the first time you do a commit operation.