Nguyen Thai Ngoc Duy <pclouds@xxxxxxxxx> writes: >> Didn't somebody add "is this '.git' thing a valid git metadirectory?" API >> quite recently for exactly this? >> > > You mean resolve_gitdir() in abc0682 (rev-parse: add option > --resolve-git-dir <path> - 2011-08-15)? That function would barf on a > bundle file. Well, then it has to be fixed, perhaps to return NULL instead as other failure cases, as read_gitfile_GENTLY() should be gentle to the callers so that they can notice error cases and deal with them themselves. -- 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