Function: git-commit-setup-bug-reference
git-commit-setup-bug-reference is a byte-compiled function defined in
git-commit.el.
Signature
(git-commit-setup-bug-reference)
Documentation
Turn on bug-reference-mode(var)/bug-reference-mode(fun) while working around a limitation of VC.
bug-reference-try-setup-from-vc doesn't work when visiting a file in
the Git directory.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20261018.804/git-commit.el
(defun git-commit-setup-bug-reference ()
"Turn on `bug-reference-mode' while working around a limitation of VC.
`bug-reference-try-setup-from-vc' doesn't work when visiting a file in
the Git directory."
(magit-with-toplevel
(let ((buffer-file-name nil))
(bug-reference-mode 1))))