summaryrefslogtreecommitdiff
path: root/Build_bundled_static.go
diff options
context:
space:
mode:
authorlhchavez <[email protected]>2021-10-14 04:42:42 -0700
committerGitHub <[email protected]>2021-10-14 04:42:42 -0700
commit6eae74c128e37e590d3a5da3fe0561add4b94d5c (patch)
treebd5d11a80188bc44668cce5deed56c949151da01 /Build_bundled_static.go
parent9b155184fe1f0f0258730bccd2759ac7ec39be2a (diff)
libgit2 v1.3.0 #major (#840)
This commit introduces libgit2 v1.3.0 to git2go, which brings a large number of [bugfixes and features](https://github.com/libgit2/libgit2/releases/tag/v1.3.0). This also marks the start of the v33 release.
Diffstat (limited to 'Build_bundled_static.go')
-rw-r--r--Build_bundled_static.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build_bundled_static.go b/Build_bundled_static.go
index 09ed0f5..d9b3713 100644
--- a/Build_bundled_static.go
+++ b/Build_bundled_static.go
@@ -10,8 +10,8 @@ package git
#cgo CFLAGS: -DLIBGIT2_STATIC
#include <git2.h>
-#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 2 || LIBGIT2_VER_MINOR > 2
-# error "Invalid libgit2 version; this git2go supports libgit2 between v1.2.0 and v1.2.0"
+#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"
#endif
*/
import "C"