Switch over the version contraints to v0.27
This commit is contained in:
parent
ec429ccdfc
commit
b52e13f37d
|
@ -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
|
||||
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue