]> git.eshelyaron.com Git - emacs.git/commit
Fix regressions in the last change
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 16 Aug 2021 00:13:30 +0000 (03:13 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 16 Aug 2021 00:33:29 +0000 (03:33 +0300)
commit35023214031e130b43fd14f5ee7cd07e778b8176
tree3c5d4618a29c51fe9ee0f490ab6fe8959235eaf8
parent7ec057458135eed0dd08e2de4089e4814d71e440
Fix regressions in the last change

* lisp/vc/vc-git.el (vc-git-register):
Use file names verbatim with 'git update-index', as it only accepts
file names, not pathspecs (bug#39452).

* lisp/vc/vc.el (vc-print-root-log):
Expand ROOTDIR, so that vc-git-print-log doesn't receive an
abbreviated name.  Literal pathspecs don't work with those.
lisp/vc/vc-git.el
lisp/vc/vc.el