Function: git-commit-insert-changelog-plain

git-commit-insert-changelog-plain is an autoloaded, interactive and byte-compiled function defined in git-commit.el.

Signature

(git-commit-insert-changelog-plain)

Documentation

Insert a simple changelog at point while authorig a commit message.

Defuns are slightly indented and quoted like in elisp docstrings. The exact format is still subject to change.

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-plain ()
  "Insert a simple changelog at point while authorig a commit message.

Defuns are slightly indented and quoted like in elisp docstrings.
The exact format is still subject to change.

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"))
  (pcase-dolist (`(,file . ,defuns) (git-commit--modified-defuns))
    (insert file ":\n")
    (dolist (def defuns)
      (insert "  `" def "'\n"))))