summaryrefslogtreecommitdiff
path: root/git_bundled_static.go
diff options
context:
space:
mode:
authorSuhaib Mujahid <[email protected]>2020-10-26 21:09:26 -0400
committerGitHub <[email protected]>2020-10-26 18:09:26 -0700
commitad3ec3664d54779c4c2e49e41f85e886fbff343c (patch)
tree23265352f1bd0b3adcc412d4a1b638466bf315af /git_bundled_static.go
parentf83530b18dc46867ed06fc261b309b8b545a3b6f (diff)
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.
Diffstat (limited to 'git_bundled_static.go')
-rw-r--r--git_bundled_static.go4
1 files changed, 2 insertions, 2 deletions
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 <git2.h>
-#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"