Am 10/4/2011 23:24, schrieb Federico Lucifredi: > Hello Git list, > Found a minor bug in git today - the error message reported is not > correct when trying to access a repo that is not accessible > permission-wise: > >> federico@skyplex:/etc$ git log >> fatal: Not a git repository (or any of the parent directories): .git > > with correct access permissions, everything works as expected. And the correct error message is...? >> drwx------ 8 root root 4096 2011-10-03 16:53 .git Assuming that you expected something like this: fatal: .git: permission denied it is hard to argue that a directory that happens to be named .git, but was sealed by its owner should be assumed to be a git repository, albeit one that we do not have access to. "Not a git repository" is an equally justifyable error message, IMHO. -- Hannes -- 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