summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2018-02-22 09:28:49 +0100
committerCarlos Martín Nieto <[email protected]>2018-02-22 09:28:49 +0100
commitb52e13f37dfb80a47b78ca6f95e06b4b27220767 (patch)
treedb64a8156ebbeaf5e6925f2a5262767b582d1721
parentec429ccdfc54141e30dd829020fc8fa2927e690c (diff)
Switch over the version contraints to v0.27
-rw-r--r--git_dynamic.go4
-rw-r--r--git_static.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/git_dynamic.go b/git_dynamic.go
index 00828a5..0a977e8 100644
--- a/git_dynamic.go
+++ b/git_dynamic.go
@@ -6,8 +6,8 @@ package git
#include <git2.h>
#cgo pkg-config: libgit2
-#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 26
-# error "Invalid libgit2 version; this git2go supports libgit2 v0.26"
+#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 27
+# error "Invalid libgit2 version; this git2go supports libgit2 v0.27"
#endif
*/
diff --git a/git_static.go b/git_static.go
index b42d49f..6303734 100644
--- a/git_static.go
+++ b/git_static.go
@@ -9,8 +9,8 @@ package git
#cgo !windows pkg-config: --static ${SRCDIR}/vendor/libgit2/build/libgit2.pc
#include <git2.h>
-#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 26
-# error "Invalid libgit2 version; this git2go supports libgit2 v0.26"
+#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 27
+# error "Invalid libgit2 version; this git2go supports libgit2 v0.27"
#endif
*/