On 2010.05.06 17:09:57 +0200, Peter Kjellerstedt wrote: > > Well, I figured out my mistake. I had abbreviated the SHA1 since I > typed it in manually, and it worked fine in git's own repository, > but not in another repository. But when I used the full SHA1 it > worked in both. So I guess the empty dir SHA1 hardcoded in git just > happened to be the SHA1 for the empty dir in git's own repository... No, there can be only one SHA1 for the empty tree. It's the SHA1 hash of the object, and the empty tree is the empty tree, always. git.git just happens to actually contain that object, so the abbreviated hash works, because git can find the object and doesn't actually need the hardcoded built-in empty tree (which is only used when the full hash is given). Björn -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html