Revert "Bind the GIT_LITERAL_PATHSPECS environment variable"

This reverts commit a2d0ff2600.

It was found to break a certain use case, and we decided to go with
the other solution (bug#39452).
This commit is contained in:
Dmitry Gutov 2021-08-15 03:45:42 +03:00
parent 31ab12e261
commit d1dbf7fc9e
2 changed files with 0 additions and 8 deletions

View file

@ -961,12 +961,6 @@ keys, add the following to your init file:
** Change Logs and VC
*** vc-git now sets the 'GIT_LITERAL_PATHSPECS' environment variable.
This ensures that Git operations on files containing wildcard
characters work as they're supposed to. However, this also affects
scripts running from Git hooks, and these have to "unset
GIT_LITERAL_PATHSPECS" to work as before.
*** More VC commands can be used from non-file buffers.
The relevant commands are those that don't change the VC state.
The non-file buffers which can use VC commands are those that have

View file

@ -1772,7 +1772,6 @@ The difference to vc-do-command is that this function always invokes
(process-environment
(append
`("GIT_DIR"
"GIT_LITERAL_PATHSPECS=1"
;; Avoid repository locking during background operations
;; (bug#21559).
,@(when revert-buffer-in-progress-p
@ -1807,7 +1806,6 @@ The difference to vc-do-command is that this function always invokes
(process-environment
(append
`("GIT_DIR"
"GIT_LITERAL_PATHSPECS=1"
;; Avoid repository locking during background operations
;; (bug#21559).
,@(when revert-buffer-in-progress-p