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 /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/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)))