Daniel Barkalow <barkalow@xxxxxxxxxxxx> wrote: > > Is there some way to see if the pack it was writing is actually corrupt > (beyond not having the hash set)? Hmm. If you have the pack fragment, its going to take some editing to get it through the existing validation tools. First you need to know how many objects are in the pack just so you can update the object count, which is a 4 byte network byte order field starting at offset 8. Then you need the SHA-1 checksum of the entire pack appended onto the end, as the last 20 bytes. Once the pack is "closed" (by applying those fixes), you can run it through both index-pack and verify-pack. They pick up most errors, especially a delta apply sort of error. They won't find corrupt tree modes though, or object connectivity errors. -- Shawn. -- 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