]> Kevux Git Server - rit/commit
Merge branch 'td/ls-files-pathspec-prefilter'
authorJunio C Hamano <gitster@pobox.com>
Wed, 17 Jun 2026 18:10:11 +0000 (11:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Jun 2026 18:10:12 +0000 (11:10 -0700)
commit621962aa7a96eb122877c05dc1305c8f99fc5b46
tree48812f987e79f1aeb2e3645335b8936c578746f9
parent0c706d509299d4bd6065214699d2c0382ea9faa9
parent3f5203eeb46e6e01c7848acde4bf5a62d0dd7d1b
Merge branch 'td/ls-files-pathspec-prefilter'

`git ls-files --modified` and `git ls-files --deleted` have been
optimized to filter with pathspec before calling lstat() when there is
only a single pathspec item, avoiding unnecessary filesystem access
for entries that will not be shown.

* td/ls-files-pathspec-prefilter:
  ls-files: filter pathspec before lstat