Re: git-index-pack really does suck..
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Apr 3, 2007, 21:26 UTC
- Message-ID
- <Pine.LNX.4.64.0704031425220.6730@woody.linux-foundation.org>
- In-Reply-To
- <20070403211709.GJ27706@spearce.org>
On Tue, 3 Apr 2007, Shawn O. Pearce wrote:
Show 5 quoted lines
> > Right. But maybe we shouldn't be scanning for packfiles every > time we don't find a loose object. Especially if the caller is in > a context where we actually *expect* to not find said object like > half of the time... say in git-add/update-index. ;-)
Yes, we could definitely skip the re-lookup if we had a "don't really care, I can recreate the object myself" flag (ie anybody who is going to write that object)
Linus