Skip to content

Conversation

ethomson
Copy link
Member

Since 3618a2a, git_error_last does not return NULL when there was no error. Adapt to this when testing for a user cancelling a callback but not setting an error message, testing for klass of GIT_ERROR_NONE.

Since 3618a2a, `git_error_last` does not return NULL when there was no
error. Adapt to this when testing for a user cancelling a callback but
not setting an error message, testing for `klass` of `GIT_ERROR_NONE`.
@ethomson
Copy link
Member Author

Fixes #6801

@ethomson ethomson merged commit 6423ffb into main Apr 29, 2024
@ethomson ethomson deleted the ethomson/cb_err branch December 12, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant