On 12/8/2021 10:14 AM, Derrick Stolee wrote: > Taking your idea and applying it to 'ls-files' (without --stage to > avoid OIDs which would change depending on the hash algorithm), the > start of the test looks like this: > > test_expect_success 'ls-files' ' > init_repos && > > # Behavior agrees by default. Sparse index is expanded. > test_all_match git ls-files && > > # With --sparse, the sparse index data changes behavior. > git -C sparse-index ls-files --stage >out && > git -C sparse-index ls-files --stage --sparse >sparse && Of course, I had a stale version here... "--stage" should not be here. Thanks, -Stolee