]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ds/restore-sparse-index' into jch
authorJunio C Hamano <gitster@pobox.com>
Fri, 29 May 2026 04:01:23 +0000 (13:01 +0900)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 May 2026 04:01:23 +0000 (13:01 +0900)
'git restore --staged' has been optimized to avoid unnecessarily expanding
the sparse index when operating on paths within the sparse checkout
definition, by handling sparse directory entries at the tree level.

* ds/restore-sparse-index:
  restore: avoid sparse index expansion
  t1092: test 'git restore' with sparse index

1  2 
builtin/checkout.c

Simple merge