diff options
| author | Suhaib Mujahid <[email protected]> | 2020-10-26 21:09:26 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-10-26 18:09:26 -0700 |
| commit | ad3ec3664d54779c4c2e49e41f85e886fbff343c (patch) | |
| tree | 23265352f1bd0b3adcc412d4a1b638466bf315af /git_system_dynamic.go | |
| parent | f83530b18dc46867ed06fc261b309b8b545a3b6f (diff) | |
Create v31 to support libgit2 v1.1.x (#668)
The libgit2 `v1.1.0` is released two weeks ago. This PR allows `git2go` to link against the new version.
Diffstat (limited to 'git_system_dynamic.go')
| -rw-r--r-- | git_system_dynamic.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git_system_dynamic.go b/git_system_dynamic.go index daed8ff..571a77f 100644 --- a/git_system_dynamic.go +++ b/git_system_dynamic.go @@ -7,8 +7,8 @@ package git #cgo CFLAGS: -DLIBGIT2_DYNAMIC #include <git2.h> -#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR != 0 -# error "Invalid libgit2 version; this git2go supports libgit2 v1.0" +#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR != 1 +# error "Invalid libgit2 version; this git2go supports libgit2 v1.1" #endif */ import "C" |
