aboutsummaryrefslogtreecommitdiffstats
path: root/java/org/gnu
diff options
context:
space:
mode:
authorSpencer Baugh2023-10-12 21:06:53 -0400
committerDmitry Gutov2023-10-14 19:57:31 +0300
commit64dcdb74172cb77650e8b46fcf08b989963cec17 (patch)
treef1ca64be422b7075fa839063af86b3bdb685a64e /java/org/gnu
parent330dd51f8bf154fedde2110675fd606400173e23 (diff)
downloademacs-64dcdb74172cb77650e8b46fcf08b989963cec17.tar.gz
emacs-64dcdb74172cb77650e8b46fcf08b989963cec17.zip
Optimize vc-hg-state for directories
Directories are never tracked in hg, so it's pointless to run vc-hg-state on them. And, in fact, our implementation previously would list all the files contained in the directory and then parse that in Emacs, which is very slow in large repos. Let's just use the knowledge that directories aren't tracked in hg, and skip running hg entirely. * lisp/vc/vc-hg.el (vc-hg-state): Return nil for directories. (Bug#66364)
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions