feat(git): increase commit summary length limit

This commit is contained in:
Kiana Sheibani 2024-07-22 13:44:49 -04:00
parent a18b74230d
commit e8e6d0e8f8
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -1990,9 +1990,12 @@ Having an IDE-style tooltip pop up is nice, but ~flymake-popon~ is a bit ugly by
I use GPG signing for commits, which means that committing often takes longer than the single second timeout. Eight seconds seems like a reasonable amount of time to type in a password.
Let's also increase the maximum length of commit summaries past the default of 50 characters, because that's a very restrictive limit.
#+begin_src emacs-lisp
(after! git-commit
(setq git-commit-post-finish-hook-timeout 8))
(setq git-commit-post-finish-hook-timeout 8
git-commit-summary-max-length 60))
#+end_src
*** Magit Syntax Highlighting