]> git.eshelyaron.com Git - emacs.git/commit
New user option: project-vc-extra-root-markers
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 1 Dec 2022 02:05:49 +0000 (04:05 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 1 Dec 2022 02:09:14 +0000 (04:09 +0200)
commit785fa801596ad7bb9f838cac865f00de29e253d1
tree0b060b78b9c920717a35c91a68cc330c3be85a5b
parent7a1f1825fd3108479556c57f153d11f305da1736
New user option: project-vc-extra-root-markers

* lisp/progmodes/project.el: Commentary update.
(project-vc, project-vc-include-untracked, project-vc-name):
Update docstrings.  Rename 'VC project' to 'VC-aware project'.
(project-vc-extra-root-markers): New option (bug#41572).
(project-try-vc): Use it.  Construct a single regexp from all and
validate it using the MATCH argument of 'directory-files'.  Call
'locate-dominating-file' directly.
(project-ignores): Support VC-aware project instances with nil
value of VC backend.

* test/lisp/progmodes/project-tests.el (project-vc-recognizes-git)
(project-vc-extra-root-markers-supports-wildcards)
New tests.
(project-tests--this-file): New variable.
lisp/progmodes/project.el
test/lisp/progmodes/project-tests.el