From ad3ec3664d54779c4c2e49e41f85e886fbff343c Mon Sep 17 00:00:00 2001 From: Suhaib Mujahid Date: Mon, 26 Oct 2020 21:09:26 -0400 Subject: Create v31 to support libgit2 v1.1.x (#668) The libgit2 `v1.1.0` is released two weeks ago. This PR allows `git2go` to link against the new version. --- git_bundled_static.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git_bundled_static.go') diff --git a/git_bundled_static.go b/git_bundled_static.go index a5a590b..48d9be5 100644 --- a/git_bundled_static.go +++ b/git_bundled_static.go @@ -9,8 +9,8 @@ package git #cgo CFLAGS: -DLIBGIT2_STATIC #include -#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR != 0 -# error "Invalid libgit2 version; this git2go supports libgit2 v1.0" +#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR != 1 +# error "Invalid libgit2 version; this git2go supports libgit2 v1.1" #endif */ import "C" -- cgit v1.2.3