Variable: dired-vc-rename-file
dired-vc-rename-file is a customizable variable defined in
dired-aux.el.gz.
Value
nil
Documentation
Whether Dired should register file renaming in underlying VC system.
If nil, Dired renames files using rename-file.
If non-nil, and the renamed files are under version control,
Dired renames them using vc-rename-file.
This variable was added, or its default value changed, in Emacs 27.1.
Probably introduced at or before Emacs version 27.1.
Source Code
;; Defined in /usr/src/emacs/lisp/dired-aux.el.gz
(defcustom dired-vc-rename-file nil
"Whether Dired should register file renaming in underlying VC system.
If nil, Dired renames files using `rename-file'.
If non-nil, and the renamed files are under version control,
Dired renames them using `vc-rename-file'."
:type '(choice (const :tag "Rename all files directly" nil)
(const :tag "Rename versioned files via version control" t))
:group 'dired
:version "27.1")