about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/workstation/emacs/init.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/workstation/emacs/init.el b/modules/workstation/emacs/init.el
index acb8726048f4..241bc5fbcfe7 100644
--- a/modules/workstation/emacs/init.el
+++ b/modules/workstation/emacs/init.el
@@ -148,9 +148,9 @@
 (global-set-key (kbd "C-x g") #'magit-status)
 (global-set-key (kbd "C-x M-g") #'magit-dispatch)
 (with-eval-after-load "git-commit"
-  (add-to-list 'git-commit-known-pseudo-headers "Change-Id")
-  (add-to-list 'git-commit-known-pseudo-headers "Fixes")
-  (add-to-list 'git-commit-known-pseudo-headers "Message-Id"))
+  (add-to-list 'git-commit-trailers "Change-Id")
+  (add-to-list 'git-commit-trailers "Fixes")
+  (add-to-list 'git-commit-trailers "Message-Id"))
 
 ;; Don't open a second window with a diff when committing.  I have
 ;; commit.verbose set in git, so the diff is shown below the commit