"Shawn O. Pearce" <spearce@xxxxxxxxxxx> writes: > JGit currently has the leading '0' be a "hard stop". Because this is > the fsck code running inside of the receive-pack service, validating > what the user sent is isn't malformed. Its clearly malformed. The "complain loudly to let the user know about the need to fix the corrupt repository" comment was meant for the "git fsck" equivalent of jgit (if there such a thing). I think "hard stop to prevent corruption from getting propagated" is actually something we should do in receive-pack in the reference implementation if we don't do so already. -- 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