]> git.eshelyaron.com Git - emacs.git/commit
Move more logic to vc-ignore from vc-default-ignore
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 22 Feb 2020 23:51:38 +0000 (01:51 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 22 Feb 2020 23:51:38 +0000 (01:51 +0200)
commitdd5756436c580cc0d00ee875d6645861daf5a867
treef6fd8f1f782ca3ba188772718a18c20cefe61cd4
parent2aed279be18ddd1e2c2b6a8102b94127fe41906c
Move more logic to vc-ignore from vc-default-ignore

* lisp/vc/vc-dir.el (vc-dir-ignore):
Pass relative file names to vc-ignore.

* lisp/vc/vc.el (vc-ignore): Move the responsibility of
constructing the ignore pattern (right now, most often a relative
file name) using a file name received from the user, here.
(vc-default-ignore): ...from here (bug#37189, see discussion).
Also clarify the docstring.
lisp/vc/vc-dir.el
lisp/vc/vc.el