Re: git status: small difference between stating whole repository and small subdirectory
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 20, 2012, 19:57 UTC
- Message-ID
- <7vmx8dl1ln.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <87ty2l38ay.fsf@thomas.inf.ethz.ch>
Thomas Rast <trast@inf.ethz.ch> 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.