Junio C Hamano [off-list ref] writes:
Thomas Rast [off-list ref] writes:
quoted
test_expect_failure 'checkout gives cache-tree' '
git checkout HEAD^ &&
test_shallow_cache_tree
'
Depending on what state you start the checkout from, that is not a valid
test. Some form of "git reset" before the checkout to ensure the initial
state is needed.
Oh, I was just quoting what we already had at the end of t0090 since
4eb0346f. The test preceding it runs 'git reset --hard'.
--
Thomas Rast
trast@{inf,student}.ethz.ch