]> git.eshelyaron.com Git - emacs.git/commit
Fix vc-git-state for filenames with wildcards
authorWolfgang Scherer <wolfgang.scherer@gmx.de>
Sun, 15 Aug 2021 01:02:23 +0000 (04:02 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 15 Aug 2021 01:22:26 +0000 (04:22 +0300)
commit3572613550f5d1d0b3392dbc809b32f3989e2981
tree5e2e175bd99b0f7377eec43e72009245349e0ce8
parentd1dbf7fc9e64add642f3cfe22231afebac62cad2
Fix vc-git-state for filenames with wildcards

* lisp/vc/vc-git.el: (vc-git--literal-pathspec-inner),
(vc-git--literal-pathspec), (vc-git--literal-pathspecs) new functions
to add ":(literal)" pathspec magic (bug#39452).

(vc-git-registered), (vc-git-state), (vc-git-dir-status-goto-stage),
(vc-git-register), (vc-git-unregister), (vc-git-checkin),
(vc-git-find-revision), (vc-git-checkout), (vc-git-revert),
(vc-git-conflicted-files), (vc-git-print-log), (vc-git-diff),
(vc-git-previous-revision), (vc-git-next-revision),
(vc-git-delete-file), (vc-git-rename-file) functions
vc-git--literal-pathspec, vc-git--literal-pathspecs applied.
lisp/vc/vc-git.el