From 1c1346d3646888974db20511bdecec992425db8b Mon Sep 17 00:00:00 2001 From: Carlos Martín Nieto Date: Sun, 3 Sep 2017 16:50:07 +0200 Subject: Update vendored libgit2 to latest --- git_dynamic.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git_dynamic.go') diff --git a/git_dynamic.go b/git_dynamic.go index f89d509..00828a5 100644 --- a/git_dynamic.go +++ b/git_dynamic.go @@ -6,8 +6,8 @@ package git #include #cgo pkg-config: libgit2 -#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 25 -# error "Invalid libgit2 version; this git2go supports libgit2 v0.25" +#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 26 +# error "Invalid libgit2 version; this git2go supports libgit2 v0.26" #endif */ -- cgit v1.2.3 From b52e13f37dfb80a47b78ca6f95e06b4b27220767 Mon Sep 17 00:00:00 2001 From: Carlos Martín Nieto Date: Thu, 22 Feb 2018 09:28:49 +0100 Subject: Switch over the version contraints to v0.27 --- git_dynamic.go | 4 ++-- git_static.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'git_dynamic.go') 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 #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 -#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 */ -- cgit v1.2.3 From 5cdcbf16079661b7c1f8274e07d9f1a7c9d4488d Mon Sep 17 00:00:00 2001 From: Melvin Date: Wed, 19 Jun 2019 10:48:37 -0700 Subject: fix invalid guard forcing v27 instead of v28 --- git_dynamic.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git_dynamic.go') diff --git a/git_dynamic.go b/git_dynamic.go index 0a977e8..06deeeb 100644 --- a/git_dynamic.go +++ b/git_dynamic.go @@ -6,8 +6,8 @@ package git #include #cgo pkg-config: libgit2 -#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 27 -# error "Invalid libgit2 version; this git2go supports libgit2 v0.27" +#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 28 +# error "Invalid libgit2 version; this git2go supports libgit2 v0.28" #endif */ -- cgit v1.2.3