From c1ec21d89caa0cdb0aefd6f6b8f95648418a3543 Mon Sep 17 00:00:00 2001 From: Sanskar Jaiswal Date: Tue, 4 Oct 2022 20:20:57 +0530 Subject: libgit2 v1.5.0 #major (#929) Update libgit2 to v1.5.0. Replace `SmartProxyOptions()` with `SmartRemoteConnectOptions()`. Fixes: https://github.com/libgit2/git2go/issues/899 Signed-off-by: Sanskar Jaiswal Co-authored-by: lhchavez --- Build_system_dynamic.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Build_system_dynamic.go') diff --git a/Build_system_dynamic.go b/Build_system_dynamic.go index a8e6942..bc423b5 100644 --- a/Build_system_dynamic.go +++ b/Build_system_dynamic.go @@ -8,8 +8,8 @@ package git #cgo CFLAGS: -DLIBGIT2_DYNAMIC #include -#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 3 || LIBGIT2_VER_MINOR > 3 -# error "Invalid libgit2 version; this git2go supports libgit2 between v1.3.0 and v1.3.0" +#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 5 || LIBGIT2_VER_MINOR > 5 +# error "Invalid libgit2 version; this git2go supports libgit2 between v1.5.0 and v1.5.0" #endif */ import "C" -- cgit v1.2.3