]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commitc4546ef86c37ae625e45bbb6cd619151d1ca435c
tree9a01f43e7b6f2d2aec5849109be1e7e85261703a
parent92f4c35d77761b8da508c5d7b279521f7701b2e1
parent105aacd072e41c55948d016b46f86f75db2487b3
Merge branch 'ds/restore-sparse-index' into jch

'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
builtin/checkout.c