Re: [BUG?] git checkout $commit -- somedir doesn't drop files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 20, 2013, 22:54 UTC
- Message-ID
- <xmqq8uyrp0i3.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <20130919221323.GA18085@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> But I think that points to a larger problem, which is that we do > not want to just look at the entries that are different between the > tree and the index.
True. The unpack-trees API knows how to walk the index and trees in parallel, and I tend to agree that it may be a more suitable vehicle for this purpose.