From e8e6d0e8f859faf572da341b3b9ee71a4b6c0bbf Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Mon, 22 Jul 2024 13:44:49 -0400 Subject: [PATCH] feat(git): increase commit summary length limit --- config.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index fed9c62..b891c6f 100644 --- a/config.org +++ b/config.org @@ -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