Carlos Martín Nieto
cff71166ec
Adjust to the change in the git_odb_open_rstream signature
2018-02-22 09:28:58 +01:00
Carlos Martín Nieto
b52e13f37d
Switch over the version contraints to v0.27
2018-02-22 09:28:49 +01:00
Carlos Martín Nieto
ec429ccdfc
vendor: bump libgit2 to 809b0ca6b (v0.27.0-rc1)
2018-02-22 09:07:57 +01:00
Carlos Martín Nieto
432a164805
Merge pull request #419 from libgit2/cmn/bump-libgit2
...
Cmn/bump libgit2
2018-01-17 12:18:08 +00:00
Carlos Martín Nieto
a38a8e8ede
diff: add two missing options
2018-01-17 11:47:06 +00:00
Carlos Martín Nieto
ec5d2bee0f
Bump libgit2 to f1323d9c
2018-01-17 11:43:25 +00:00
Carlos Martín Nieto
f439cc93e9
Merge pull request #413 from libgit2/cmn/master-static
...
README: master wants to use install-static
2017-10-16 15:42:45 +02:00
Carlos Martín Nieto
cd779176d1
README: correct the branches in the testing block
2017-10-16 15:36:57 +02:00
Carlos Martín Nieto
72510e9d3a
README: master wants to use install-static
2017-10-16 15:14:26 +02:00
Carlos Martín Nieto
dc745f54c5
Merge pull request #411 from harsimranmaan/patch-1
...
Fix typo in the error message
2017-10-03 11:30:33 +02:00
Harsimran Singh Maan
3452fe984d
Fix typo in the error message
2017-10-01 21:04:08 -07:00
Carlos Martín Nieto
b011f6b248
Merge pull request #409 from libgit2/cmn/bumping
...
Bump libgit2 to c7c5f2c4ec
2017-09-29 09:56:41 +02:00
Carlos Martín Nieto
a69a0b1919
patch: adjust to new function signature
2017-09-29 09:49:21 +02:00
Carlos Martín Nieto
028ea07d77
Bump libgit2 to c7c5f2c4ec
2017-09-29 09:41:46 +02:00
Carlos Martín Nieto
a2e6f1db85
Merge pull request #398 from reujab/master
...
Fixed typos
2017-09-03 20:12:52 +02:00
Carlos Martín Nieto
7718e373f6
Merge pull request #406 from libgit2/cmn/go19
...
travis: include go 1.9
2017-09-03 20:12:11 +02:00
Carlos Martín Nieto
b8ead33448
travis: include go 1.9
2017-09-03 20:05:05 +02:00
Carlos Martín Nieto
7f31dccb8f
travis: don't update submodules recursively
...
We have invalid submodules for testing and Travis gets unhappy.
2017-09-03 19:53:33 +02:00
Carlos Martín Nieto
0ebe7220d7
Go back to the v0.26 libgit2 release
...
Newer commits have changed the build scripts such that the HTTP parser is not
included in the static library.
This also reverts commit ecf4f7a137
.
2017-09-03 19:49:30 +02:00
Carlos Martín Nieto
ecf4f7a137
patch: correct a pointer type
2017-09-03 16:59:05 +02:00
Mikołaj Baranowski
a395d3f635
clone_checkout_strategy removed
...
https://github.com/libgit2/libgit2/releases/tag/v0.26.0
2017-09-03 16:51:11 +02:00
Carlos Martín Nieto
1c1346d364
Update vendored libgit2 to latest
2017-09-03 16:50:12 +02:00
reujab
24637b369f
a MIT -> an MIT
2017-07-11 23:58:08 -04:00
reujab
a119b21dbb
fixed typos
2017-07-11 23:52:13 -04:00
Carlos Martín Nieto
7969aefd42
Merge pull request #397 from libgit2/cmn/tag-generic
...
Tag any kind of object
2017-07-09 20:10:07 +02:00
Carlos Martín Nieto
916d555644
tag: accept an Objecter for creating a tag
...
This lets us create a tag for any kind of object.
2017-07-08 23:22:33 +02:00
Carlos Martín Nieto
7f685a6ee6
Add Objecer interface
...
We do want to be able to accept generic objects in functions. Add this interface
so we can accept that instead of specific object types.
2017-07-08 22:53:50 +02:00
Carlos Martín Nieto
2cff3f2ef4
Merge pull request #396 from libgit2/cmn/rebase-no-operation
...
rebase: correct the return values for CurrentOperationIndex
2017-07-08 22:22:54 +02:00
Carlos Martín Nieto
b98b0e7640
rebase: correct the return values for CurrentOperationIndex
...
We were incorectly reporting `C.GIT_REBASE_NO_OPERATION` as an error code when
it is none. We should instead return it as the value. The compiler doesn't seem
to actually look at the sizes so instead we must recreate the value ourselves
with `^uint(0)`.
The error return is kept for API compatibility but should go away eventually.
2017-07-08 21:34:10 +02:00
Carlos Martín Nieto
ce65c2303e
Merge pull request #395 from libgit2/cmn/check-thread-lock
...
Deduplicate Makefile static target and add thread locking check
2017-07-08 20:49:16 +02:00
Carlos Martín Nieto
27d123f631
Deduplicate Makefile static target and add thread locking check
...
It turns out we had been running CI without performing the thread locking check.
2017-07-08 18:24:41 +02:00
Carlos Martín Nieto
08db2e2c16
Merge pull request #393 from libgit2/cmn/keepalive-all-the-things
...
KeepAlive all the things
2017-07-08 16:51:22 +02:00
Carlos Martín Nieto
55a1096141
Third round of keep-alive aditions
2017-07-08 16:07:51 +02:00
Carlos Martín Nieto
7d29d68644
Second round of keep-alives
2017-07-08 11:38:19 +02:00
Carlos Martín Nieto
58334cf604
First round of mass keep-alive additions
2017-07-08 09:11:38 +02:00
Carlos Martín Nieto
0e9336be3f
commit: add keep-alives for those that need conversion to pointer receivers
...
We can't work on the copies here, we need to have pointer receivers so we know
we're keeping alive the object whose finalizer would free the unmanaged memory
we're working with.
2017-07-07 23:36:04 +02:00
Carlos Martín Nieto
5d466ffbc0
commit: add thread locking to signature extraction
2017-07-07 23:24:54 +02:00
Carlos Martín Nieto
29c0b73007
Merge pull request #389 from KatolaZ/master
...
Added Commit.ExtractSignature to wrap git_commit_extract_signature
2017-07-06 22:22:03 +02:00
Carlos Martín Nieto
7929e49881
Merge pull request #390 from libgit2/cmn/go-vet
...
Fix a couple of issues reported by go-vet
2017-07-06 22:20:00 +02:00
Carlos Martín Nieto
b09f1ab739
Fix a couple of issues reported by go-vet
2017-07-06 21:09:01 +02:00
KatolaZ
f7e15669c8
Added Commit.ExtractSignature to wrap git_commit_extract_signature
2017-07-06 08:40:58 +01:00
Carlos Martín Nieto
c71c935ad1
Merge pull request #387 from libgit2/cmn/remote-refs
...
remote: add keep-alive and references to the repository
2017-07-04 14:09:42 +02:00
Carlos Martín Nieto
bcf8c1bf40
travis: update the Go versions
...
We need to use `runtime.KeepAlive()` which only exists past Go 1.7. Furthermore,
Go 1.7 is the latest supported by the language team.
2017-07-04 13:02:12 +02:00
Carlos Martín Nieto
544d29e18b
remote: add keep-alive and references to the repository
...
Especially in 1.8, the garbage collector can decide to finalize an object even
as we are in one of its methods. This means it can free a remote while we're in
one of its calls, as we're referencing the pointer inside the object, rather
than the `Remote` itself.
2017-07-04 12:53:51 +02:00
Carlos Martín Nieto
daee43b891
Merge pull request #376 from ankurmittal/short-hash
...
Add support for getting short object Id
2017-05-20 19:17:15 +02:00
Ankur Mittal
7caac1fa7b
Add support for getting short object Id
2017-04-19 18:42:13 -07:00
Carlos Martín Nieto
7cd5a4e731
Merge pull request #371 from libgit2/static-dynamic
...
Allow building statically via the "static" build tag
2017-04-14 13:11:28 +02:00
Carlos Martín Nieto
e7747d3174
travis: build statically
2017-04-14 12:51:13 +02:00
Carlos Martín Nieto
5001942b59
Allow building statically via the "static" build tag
2017-04-14 12:36:42 +02:00
Carlos Martín Nieto
71bdf97227
Merge pull request #366 from LinuxBozo/repository-open-flags
...
Add new repository open flags
2017-04-14 10:48:01 +02:00