From 284182cf3a890a2b471a115711934f3c6014cfc7 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 12 Nov 2023 22:57:40 +0100 Subject: [PATCH] Compatibility with libgit <0.28.0 --- src/tl/tl/tlGit.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tl/tl/tlGit.cc b/src/tl/tl/tlGit.cc index 47a3f4674..851e8fcd1 100644 --- a/src/tl/tl/tlGit.cc +++ b/src/tl/tl/tlGit.cc @@ -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;