From: Nguyen Thai Ngoc Duy Date: Tue, 29 Nov 2011 13:17:36 GMT Subject: Re: [PATCH] Implement fast hash-collision detection Message-ID: In-Reply-To: <20111129090733.GA22046@sigill.intra.peff.net> On Tue, Nov 29, 2011 at 4:07 PM, Jeff King wrote: > However, it's harder for trees. Each entry needs to have the new digest > added, but there simply isn't room in the format. So we would have to > change the tree format, breaking interoperability with older versions of > git. And all of your tree sha1's would change as soon as you wrote them > with the new format. That's only slightly better than just swapping > sha1 out for a better algorithm. I think we could hide the new digest after NUL at the end of path name. C Git at least does not seem to care whatever after NUL. -- Duy