Re: [RFC 1/8] UTF helpers
- From
Esko Luontola <esko.luontola@gmail.com>
- Date
- May 13, 2009, 19:31 UTC
- Message-ID
- <4A0B2007.70808@gmail.com>
- In-Reply-To
- <7vljp04z6j.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote on 13.5.2009 21:48:
Show 5 quoted lines
> If you allow people to record otherwise exactly the same tree object in > different encoding, like you seem to have in mind, subtree comparision > based on the object name will not work and you will end up always > traversing down to the tip, because you won't know if your subtrees need > filename iconv until you recurse into them and actually take a look.
Could you please educate me, that which operations depend on "doing subtree comparisons based on the object name", and in about which files/functions those comparisons are done? Also, do you mean by "object name" the SHA1 of the object, the filename of a file/directory, or something else? I'd like to know, which parts of the code I should read, to get a better mental model on how Git works.
-- Esko Luontola www.orfjackal.net