Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use correct class for credentials_cb error #918

Merged
merged 1 commit into from
Jan 23, 2023

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Jan 22, 2023

The first parameter of git_error_set_str is supposed to be an error class, not the raw error code. The main consequence is that the error message should show the class code instead of the error code (which would usually just be GIT_ERROR).

The first parameter of `git_error_set_str` is supposed to be an
error class, not the raw error code. The main consequence is that
the error message should show the class code instead of the error
code (which would usually just be GIT_ERROR).
@ehuss ehuss merged commit 70d7471 into rust-lang:master Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant