Skip to content

Commit

Permalink
Compatibility with libgit <0.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koefferlein committed Nov 12, 2023
1 parent 80241ae commit 284182c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tl/tl/tlGit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 284182c

Please sign in to comment.