Variable: git-commit-post-finish-hook-timeout

git-commit-post-finish-hook-timeout is a customizable variable defined in git-commit.el.

Value

2

Documentation

Time in seconds to wait for git to create a commit.

The hook git-commit-post-finish-hook (which see) is run only after git is done creating a commit. If it takes longer than git-commit-post-finish-hook-timeout seconds to create the commit, then the hook is not run at all.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/git-commit.el
(defcustom git-commit-post-finish-hook-timeout 2
  "Time in seconds to wait for git to create a commit.

The hook `git-commit-post-finish-hook' (which see) is run only
after git is done creating a commit.  If it takes longer than
`git-commit-post-finish-hook-timeout' seconds to create the
commit, then the hook is not run at all."
  :group 'git-commit
  :safe 'numberp
  :type 'number)