Variable: vc-git-log-edit-summary-max-len

vc-git-log-edit-summary-max-len is a customizable variable defined in vc-git.el.gz.

Value

68

Documentation

Maximum length for Git commit summary lines.

If a number, characters in summary lines beyond this length are displayed in the vc-git-log-edit-summary-max-warning face. A value of any other type means no highlighting.

It is good practice to avoid writing summary lines longer than this because otherwise the summary line will be truncated in many contexts in which Git commands display summary lines.

See also vc-git-log-edit-summary-target-len.

Probably introduced at or before Emacs version 29.1.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
(defcustom vc-git-log-edit-summary-max-len 68
  "Maximum length for Git commit summary lines.
If a number, characters in summary lines beyond this length are
displayed in the `vc-git-log-edit-summary-max-warning' face.
A value of any other type means no highlighting.

It is good practice to avoid writing summary lines longer than
this because otherwise the summary line will be truncated in many
contexts in which Git commands display summary lines.

See also `vc-git-log-edit-summary-target-len'."
  :type '(choice (const :tag "No target" nil)
                 (natnum :tag "Target length"))
  :safe (lambda (x) (or (not x) (natnump x))))