]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ds/ls-files-lazy-unsparse'
authorJunio C Hamano <gitster@pobox.com>
Mon, 8 Sep 2025 21:54:34 +0000 (14:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Sep 2025 21:54:35 +0000 (14:54 -0700)
commit576e0b6eb34f8989f07ae77db10baf1c75125c47
treec2962bfd758f54f9c54ca6c032080d19c7d9ce54
parent4a7ebb9138b47bdc469fd8c8a97a753714fd5d92
parent681f26bccc017371ae6ee20db55e3edb52420a25
Merge branch 'ds/ls-files-lazy-unsparse'

"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
builtin/ls-files.c