]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ds/ls-files-lazy-unsparse' into next
authorJunio C Hamano <gitster@pobox.com>
Fri, 29 Aug 2025 17:23:53 +0000 (10:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Aug 2025 17:23:54 +0000 (10:23 -0700)
"git ls-files <pathspec>..." should not necessarily have to expand
the index fully if a sparsified directory is excluded by the
pathspec; the code is taught to expand the index on demand to avoid
this.

* ds/ls-files-lazy-unsparse:
  ls-files: conditionally leave index sparse

1  2 
builtin/ls-files.c

Simple merge