sparse-index: update command for expand/collapse test
commit86609db9dae77a385ea8c156ac4ca55f8454a3f7
authorVictoria Dye <vdye@github.com>
Wed, 27 Oct 2021 14:39:18 +0000 (27 14:39 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Oct 2021 22:05:11 +0000 (27 15:05 -0700)
tree4cb9f8b53401b5ea9b6e505aeee2c79c64e27d3c
parent71471b2a7c72415a52e0c84182098e8856ceab7a
sparse-index: update command for expand/collapse test

In anticipation of `git reset --hard` being able to use the sparse index
without expanding it, replace the command in `sparse-index is expanded and
converted back` with `git reset -- folder1/a`. This command will need to
expand the index to work properly, even after integrating the rest of
`reset` with sparse index.

Helped-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1092-sparse-checkout-compatibility.sh