]> git.eshelyaron.com Git - emacs.git/commit
Speed up project-files for Git projects
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 3 Oct 2019 23:03:04 +0000 (02:03 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 3 Oct 2019 23:03:23 +0000 (02:03 +0300)
commita750770ba0591b24303869fbb4b349f33165cb85
tree74df61beebfa4bfec8b25359fbf351dc9d930a04
parent0fc8177414801e428ca184e8a9ba8b79a291c15a
Speed up project-files for Git projects

* lisp/progmodes/project.el (project-files): New method.
Implementation for VC projects that uses 'git ls-files' or 'hg
status --all' for listing.  With gratitude to Tassilo Horn who has
done most of the legwork and wrote the first version of the code
(https://lists.gnu.org/archive/html/emacs-devel/2019-10/msg00069.html).
(project--vc-list-files): New function, to be used by the above.
(project--find-regexp-in-files):
Silence warnings about nonexistent files.
lisp/progmodes/project.el