-
Notifications
You must be signed in to change notification settings - Fork 461
Closed
Description
During the LooseObjectStep, we can hit an issue where our loose object is corrupt. We don't respond well, and will continue retrying on every execution:
error: inflate: data stream error (unknown compression method)
error: unable to unpack {oid} header
error: inflate: data stream error (unknown compression method)
error: unable to unpack {oid} header
fatal: loose object {oid} (stored in {path}\gitObjects/{??}/{oid}) is corrupt
We could try to respond to this error by parsing the output and deleting the specific loose object. Perhaps we could make Git more resilient and have it delete the object and continue if corrupt. This would be a behavior change, as normally git pack-objects really should fail if a given object can't be added to the pack.
Reactions are currently unavailable