summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorDerrick Stolee <stolee@gmail.com>2026-05-26 20:26:33 +0000
committerJunio C Hamano <gitster@pobox.com>2026-05-27 13:42:59 +0900
commitca7b9ae3403b1a46fffbdae312092c4029470eee (patch)
treeffd8d8194712eaab11faa58ef23ce251984c7efe /t/t4013/diff.diff_initial..side
parent6a4418c36d6bad69a599044b3cf49dcbd049cb45 (diff)
t1092: test 'git restore' with sparse index
A user reported that 'git restore --staged .' causes the sparse index to expand. This is somewhat natural because the '.' pathspec means 'check every path'. However, the restore will not update paths marked with the SKIP_WORKTREE bit, so we shouldn't need to process such entries. For now, establish the current behavior, including the sparse index expansion, in the t1092 test case as a baseline. Signed-off-by: Derrick Stolee <stolee@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions