Re: [PATCH 1/5] Add test-scrap-cache-tree
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 6, 2011, 22:51 UTC
- Message-ID
- <7vfwgxe2k6.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <534454506f92428863de8fe0638f4129e962a073.1323191497.git.trast@student.ethz.ch>
Thomas Rast <trast@student.ethz.ch> writes:
> A simple utility that invalidates all existing cache-tree data. We > need this for tests. (We don't need a tool to rebuild the cache-tree > data; git read-tree HEAD works for that.)
"git read-tree -m HEAD HEAD" would work for that, I suspect ;-)
But that can be improved later, so it is very sensible to add a test tool like this.