Set the error message string for this thread. This function is like
git_error_set
but takes a static string instead of a printf
-style
format.
One of the git_error_t
enum above describing the general subsystem that is responsible for the error.
The error message to keep
0 on success or -1 on failure