Compare commits

...

5 Commits
main ... v28

Author SHA1 Message Date
lhchavez 7694d5f5fc Add the /v28 suffix to go.mod
This is compliant with
https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher,
which says

```
Major branch: Update the go.mod file to include a /v3 at the end of the
module path in the module directive (e.g., module
github.com/my/module/v3). Update import statements within the module to
also use /v3 (e.g., import "github.com/my/module/v3/mypkg"). Tag the
release with v3.0.0.
```

This also means that unfortunately we cannot keep using libgit2's exact
version number (plus a build number for git2go purposes, since go only
recognizes vMAJOR.MINOR.PATCH format).

(Tentatively) fixes: #536
2020-02-18 19:50:49 -08:00
lhchavez 437c7c3344
Merge pull request #531 from suhaibmujahid/patch-1
Switch over the version constraints to v0.28
2020-02-16 06:44:16 -08:00
Suhaib Mujahid 70058bd989
Switch over the version constraints to v0.28 2020-01-17 22:09:18 -05:00
Carlos Martín Nieto b1eec9a466
Merge pull request #530 from libgit2/cmn/bump-libgit2-28
Update libgit2 to v0.28.4
2019-12-10 23:15:50 +01:00
Carlos Martín Nieto a478c6d7ef Update libgit2 to v0.28.4 2019-12-10 21:47:55 +00:00
3 changed files with 4 additions and 4 deletions

View File

@ -6,8 +6,8 @@ package git
#include <git2.h>
#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
*/

2
go.mod
View File

@ -1 +1 @@
module github.com/libgit2/git2go
module github.com/libgit2/git2go/v28

2
vendor/libgit2 vendored

@ -1 +1 @@
Subproject commit 1a107fac0fc88a4d74b64ffc9ae2fd178ba631c0
Subproject commit 106a5f27586504ea371528191f0ea3aac2ad432b