Variable: magit-commit-ask-to-stage
magit-commit-ask-to-stage is a customizable variable defined in
magit-commit.el.
Value
verbose
Documentation
Whether to ask to stage everything when committing and nothing is staged.
This variable was added, or its default value changed, in magit version 2.3.0.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-commit.el
;;; Options
(defcustom magit-commit-ask-to-stage 'verbose
"Whether to ask to stage everything when committing and nothing is staged."
:package-version '(magit . "2.3.0")
:group 'magit-commands
:type '(choice (const :tag "Ask" t)
(const :tag "Ask showing diff" verbose)
(const :tag "Stage without confirmation" stage)
(const :tag "Don't ask" nil)))