From 1c1346d3646888974db20511bdecec992425db8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Sun, 3 Sep 2017 16:50:07 +0200 Subject: [PATCH] Update vendored libgit2 to latest --- git_dynamic.go | 4 ++-- git_static.go | 4 ++-- vendor/libgit2 | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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 */ diff --git a/git_static.go b/git_static.go index d0acb3a..b42d49f 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 != 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 */ diff --git a/vendor/libgit2 b/vendor/libgit2 index df4dfaa..3c21645 160000 --- a/vendor/libgit2 +++ b/vendor/libgit2 @@ -1 +1 @@ -Subproject commit df4dfaadcf709646ebab2e57e3589952cf1ac809 +Subproject commit 3c21645360a0b06d6ed5f028e9517d65f8e11bc1