]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
`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


Trivial merge