Skip to content

Use correct class for credentials_cb error#918

Merged
ehuss merged 1 commit intorust-lang:masterfrom
ehuss:set-err-class
Jan 23, 2023
Merged

Use correct class for credentials_cb error#918
ehuss merged 1 commit intorust-lang:masterfrom
ehuss:set-err-class

Conversation

@ehuss
Copy link
Copy Markdown
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