Re: [ANNOUNCE] Cogito-0.12
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jul 7, 2005, 22:10 UTC
- Message-ID
- <7vslyqp8sm.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.58.0507071456570.25104@g5.osdl.org>
>>>>> "LT" == Linus Torvalds <torvalds@osdl.org> writes:
Show 6 quoted lines
>> (2) When "showing --objects", it lists the top-level tree node >> with no name, which makes it indistinguishable from commit >> objects by pack-objects, probably impacting the delta logic. >> Would something like the following patch make sense, to name >> such node "."; giving full-path not just the basename to >> all named nodes would be even better, though.
LT> It doesn't impact the delta algorithm, because the objects are sorted by LT> type first, so it never mixes up trees and commits.
You are correct. I forgot that it does sorting by type.
What do you think about giving full-path so that Makefiles in different directories would get different name hashes?