On Tue, Nov 29, 2011 at 4:07 PM, Jeff King [off-list ref] 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