Variable: git-commit-trailers

git-commit-trailers is a customizable variable defined in git-commit.el.

Value

("Acked-by" "Modified-by" "Reviewed-by" "Signed-off-by" "Tested-by"
 "Cc" "Reported-by" "Suggested-by" "Co-authored-by" "Co-developed-by")

Documentation

A list of Git trailers to be highlighted.

See also manpage git-interpret-trailer(1). This package does not use that Git command, but the initial description still serves as a good introduction.

Aliases

git-commit-known-pseudo-headers (obsolete since git-commit 4.0.0)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/git-commit.el
(defcustom git-commit-trailers
  '("Acked-by"
    "Modified-by"
    "Reviewed-by"
    "Signed-off-by"
    "Tested-by"
    "Cc"
    "Reported-by"
    "Suggested-by"
    "Co-authored-by"
    "Co-developed-by")
  "A list of Git trailers to be highlighted.

See also manpage git-interpret-trailer(1).  This package does
not use that Git command, but the initial description still
serves as a good introduction."
  :group 'git-commit
  :safe (##and (listp %) (seq-every-p #'stringp %))
  :type '(repeat string))