Variable: magit-commit-squash-confirm
magit-commit-squash-confirm is a customizable variable defined in
magit-commit.el.
Value
t
Documentation
Whether the commit targeted by squash and fixup has to be confirmed.
When non-nil then the commit at point (if any) is used as default
choice, otherwise it has to be confirmed. This option only
affects magit-commit-squash and magit-commit-fixup. The
"instant" variants always require confirmation because making
an error while using those is harder to recover from.
This variable was added, or its default value changed, in magit version 2.1.0.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-commit.el
(defcustom magit-commit-squash-confirm t
"Whether the commit targeted by squash and fixup has to be confirmed.
When non-nil then the commit at point (if any) is used as default
choice, otherwise it has to be confirmed. This option only
affects `magit-commit-squash' and `magit-commit-fixup'. The
\"instant\" variants always require confirmation because making
an error while using those is harder to recover from."
:package-version '(magit . "2.1.0")
:group 'magit-commands
:type 'boolean)