8000 transport: provide a useful error message during cancellation by ethomson · Pull Request #6802 · libgit2/libgit2 · GitHub
[go: up one dir, main page]

Skip to content

transport: provide a useful error message during cancellation #6802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weâ 8000 €™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 29, 2024

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
19 checks passed
@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
0