mirror of https://github.com/KLayout/klayout.git
Compatibility with libgit <0.28.0
This commit is contained in:
parent
80241ae7c2
commit
284182cf3a
|
|
@ -263,7 +263,7 @@ credentials_cb (git_cred ** /*out*/, const char * /*url*/, const char * /*userna
|
|||
#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28)
|
||||
git_error_set_str (GIT_ERROR_NONE, "anonymous access is supported only, but server requests credentials");
|
||||
#else
|
||||
git_error_set_str (GITERR_NONE, "anonymous access is supported only, but server requests credentials");
|
||||
giterr_set_str (GITERR_NONE, "anonymous access is supported only, but server requests credentials");
|
||||
#endif
|
||||
return GIT_EUSER;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue