On Fri, Jan 27, 2012 at 10:47:29AM +0700, Nguyen Thai Ngoc Duy wrote: > > What happens if a ref cannot be resolved, for example due to repository > > corruption? Does git just emit an error and then carries on, or does it > > always die? Can I run at least git-fsck in such a case? > > Moreover, if I specify sha-1 in the config (it's discouraged but not > forbidden from the code), can git-prune remove the blob? Yes. I don't think we want to get into connectivity guarantees for config (because they can be quite complex, and involve files totally outside the repo). I think it's OK for the user to be responsible for either using a ref, or making sure that a bare sha1 they point to is reachable from a ref. -Peff -- 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