Variable: vc-git-use-literal-pathspecs

vc-git-use-literal-pathspecs is a variable defined in vc-git.el.gz.

Value

t

Documentation

Non-nil to treat pathspecs in commands literally.

Good example of file name that needs this: "test[56].xx".

Probably introduced at or before Emacs version 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
;; Default to t because commands which don't support literal pathspecs
;; ignore the environment variable silently.
(defvar vc-git-use-literal-pathspecs t
  "Non-nil to treat pathspecs in commands literally.
Good example of file name that needs this: \"test[56].xx\".")