From: Thomas Rast Date: Mon, 20 Feb 2012 19:59:55 GMT Subject: Re: git status: small difference between stating whole repository and small subdirectory Message-ID: <87wr7hz35w.fsf@thomas.inf.ethz.ch> In-Reply-To: <7vmx8dl1ln.fsf@alter.siamese.dyndns.org> Junio C Hamano writes: > Thomas Rast writes: > >> 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