diff options
| author | Sanskar Jaiswal <[email protected]> | 2022-10-04 20:20:57 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-04 07:50:57 -0700 |
| commit | c1ec21d89caa0cdb0aefd6f6b8f95648418a3543 (patch) | |
| tree | 33d4bb4b521a5c5f4502d92db478b0786953363b /Build_system_static.go | |
| parent | 9db5de109c166aa802b85cfae2dced3c4728a00d (diff) | |
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 <[email protected]>
Co-authored-by: lhchavez <[email protected]>
Diffstat (limited to 'Build_system_static.go')
| -rw-r--r-- | Build_system_static.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build_system_static.go b/Build_system_static.go index a96894f..7038e93 100644 --- a/Build_system_static.go +++ b/Build_system_static.go @@ -8,8 +8,8 @@ package git #cgo CFLAGS: -DLIBGIT2_STATIC #include <git2.h> -#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" |
