Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

yerseg
Copy link
Contributor

@yerseg yerseg commented Sep 6, 2024

In case when unpack_ok is false push status can be non-empty and contains important information about unpacking failure cause. For example, Azure DevOps git server behave like that.
There is an example of error message is provided by Azure:
"The blob object e4f9f86ce8fcaa697809bcb6efbd91eddc50b04a was rejected: VS403658: The object is 1074200997 bytes, which is greater than the 10485760 byte limit for objects in this repository."
If we go to cleanup immediately it will be no information about the cause for client.

@ethomson
Copy link
Member

Thanks for the fix; this is a helpful change!

@ethomson ethomson merged commit 0dc5e4a into libgit2:main Sep 27, 2024
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants