]> git.eshelyaron.com Git - emacs.git/commit
Fix vc-git with old Git over Tramp and cygwin-mount.el
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 5 Jan 2022 02:08:10 +0000 (04:08 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 5 Jan 2022 02:08:10 +0000 (04:08 +0200)
commite7aa3ece52d26cc7e4d3f3990aff56127389779f
tree1d915d7f1b981c2282fca7c7fac924c2347a2090
parentc0cfbca311e6e07e9f8b9c1c9d0e2fe9792cd08c
Fix vc-git with old Git over Tramp and cygwin-mount.el

* lisp/vc/vc-git.el (vc-git-use-literal-pathspecs): New variable.
(vc-git-command, vc-git--call): Use it to determine whether to set
GIT_LITERAL_PATHSPECS=1 (bug#51497).
(vc-git--literal-pathspec, vc-git--literal-pathspecs): Remove.
Update all callers.  This reverts the previous solution for bug#39452.

* lisp/progmodes/project.el (project--vc-list-files):
Use the new variable.
etc/NEWS
lisp/progmodes/project.el
lisp/vc/vc-git.el