summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp-cstr.el
diff options
context:
space:
mode:
authorSean Allred <allred.sean@gmail.com>2024-09-29 04:00:32 +0300
committerDmitry Gutov <dmitry@gutov.dev>2024-09-29 04:02:13 +0300
commit8d9a4647fbc6c57e82045ecd2b3f157ece399e9e (patch)
treef016370fc2e310a68b7105d58fa381acaecdf3ce /lisp/emacs-lisp/comp-cstr.el
parentc934450d14dacfef5e846a743d9637ba1ec6f5a3 (diff)
downloademacs-8d9a4647fbc6c57e82045ecd2b3f157ece399e9e.tar.gz
emacs-8d9a4647fbc6c57e82045ecd2b3f157ece399e9e.tar.bz2
emacs-8d9a4647fbc6c57e82045ecd2b3f157ece399e9e.zip
project--vc-list-files: Use '--sparse' with 'git ls-files'
When dealing with exceptionally large Git repositories, the performance of `project-find-file` can suffer dramatically as the list of files is collected for completion. This adds insult to injury when you consider cases where the developer has configured the repository to use a sparse checkout where the vast majority of these files are not even present on disk and are not valid candidates for completion. * lisp/progmodes/project.el (project--vc-list-files): Pass 'sparse' to 'git ls-files' when Git is recent enough. Filter out file names that end with '/' (bug#73320).
Diffstat (limited to 'lisp/emacs-lisp/comp-cstr.el')
0 files changed, 0 insertions, 0 deletions