Variable: vc-no-confirm-moving-changes
vc-no-confirm-moving-changes is a customizable variable defined in
vc.el.gz.
Value
nil
Documentation
Whether VC commands prompt before moving changes between working trees.
Normally the commands C-x v w a (vc-apply-to-other-working-tree) and C-x v w A (vc-apply-root-to-other-working-tree) prompt for confirmation
when asked to move changes between working trees (i.e., when invoked
with a prefix argument). This is because it can be surprising to have
work disappear from your current working tree. You can customize this
option to non-nil to skip the prompting.
This variable was added, or its default value changed, in Emacs 31.1.
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc.el.gz
(defcustom vc-no-confirm-moving-changes nil
"Whether VC commands prompt before moving changes between working trees.
Normally the commands \\[vc-apply-to-other-working-tree] \
and \\[vc-apply-root-to-other-working-tree] prompt for confirmation
when asked to move changes between working trees (i.e., when invoked
with a prefix argument). This is because it can be surprising to have
work disappear from your current working tree. You can customize this
option to non-nil to skip the prompting."
:type '(choice (const :tag "Prompt before moving changes" nil)
(const :tag "Move changes without prompting" t))
:group 'vc
:version "31.1")