When I commit using magit (git-commit-mode) shows following message Diffing changes to be committed (C-g to abort diffing) in the mini-buffer before typing the commit message.

Would it be possible to abort diffing by default?


(require 'magit)

(add-to-list 'auto-mode-alist '("/\\.git/MERGE_MSG\\'" . git-commit-mode))
(add-to-list 'auto-mode-alist '("/\\.git/COMMIT_EDITMSG\\'" . git-commit-mode))
(add-to-list 'auto-mode-alist '("/\\.git/commit-msg\\'" . git-commit-mode))


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.