Sets the error message to the given string. This is an alias of git_error_set_str and is preserved for backward compatibility.
git_error_set_str
This function is deprecated, but there is no plan to remove this function at this time.