Closed ehuss closed 1 year ago
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).
git_error_set_str
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).