.dir-locals.el: Have Magit recognize Change-Id git trailers.

* .dir-locals.el: Register the 'Change-Id' git trailer to the
GIT-COMMIT-TRAILERS Magit variable.

Change-Id: I45deafae39163c63d559e0d50e39ee0691533955
This commit is contained in:
Maxim Cournoyer 2025-02-13 15:19:59 +09:00
parent aea511df93
commit fc3ae70520
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -18,6 +18,9 @@
(eval . (setq-local guix-directory (eval . (setq-local guix-directory
(locate-dominating-file default-directory (locate-dominating-file default-directory
".dir-locals.el"))) ".dir-locals.el")))
;; Magit
(eval . (with-eval-after-load 'git-commit
(add-to-list 'git-commit-trailers "Change-Id")))
;; TempEl ;; TempEl
(eval . (with-eval-after-load (eval . (with-eval-after-load