Variable: git-commit-header-line-format

git-commit-header-line-format is a variable defined in git-commit.el.

Value

nil

Documentation

If non-nil, header line format used by git-commit-mode(var)/git-commit-mode(fun).

Used as the local value of header-line-format, in buffer using git-commit-mode(var)/git-commit-mode(fun). If it is a string, then it is passed through substitute-command-keys first. A useful setting may be:
  (setq git-commit-header-line-format git-commit-default-usage-message)
  (setq git-commit-usage-message nil) ; show a shorter message

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/git-commit.el
(defvar git-commit-header-line-format nil
  "If non-nil, header line format used by `git-commit-mode'.
Used as the local value of `header-line-format', in buffer using
`git-commit-mode'.  If it is a string, then it is passed through
`substitute-command-keys' first.  A useful setting may be:
  (setq git-commit-header-line-format git-commit-default-usage-message)
  (setq git-commit-usage-message nil) ; show a shorter message")