Function: git-commit-insert-changelog-gnu
git-commit-insert-changelog-gnu is an autoloaded, interactive and
byte-compiled function defined in git-commit.el.
Signature
(git-commit-insert-changelog-gnu)
Documentation
Insert a GNU-style changelog at point while authorig a commit message.
The modified definitions are extracted from the diff in the message
buffer, which is only available if "git commit" was invoked with
"--verbose".
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/git-commit.el
;;;###autoload
(defun git-commit-insert-changelog-gnu ()
"Insert a GNU-style changelog at point while authorig a commit message.
The modified definitions are extracted from the diff in the message
buffer, which is only available if \"git commit\" was invoked with
\"--verbose\"."
(interactive)
(unless git-commit-mode
(user-error "Not in a commit message buffer"))
;; Like `change-log-insert-entries'.
(pcase-dolist (`(,file . ,defuns) (git-commit--modified-defuns))
(if (not defuns)
(insert "* " file ":\n")
(insert "* " file " ")
(dolist (def defuns)
(insert "(" def "):\n")))))