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
Carlos Martín Nieto
490e8a8722
Merge pull request #368 from cbguder/master
...
Fix memory leak in Patch.String()
2017-04-14 10:47:39 +02:00
Carlos Martín Nieto
89fc9e7761
Merge pull request #365 from AaronO/fix/memleak-tree-entrybyname
...
Fix memleaks in Tree.EntryBy(Name/Path/Index), fixes #313
2017-04-13 21:16:30 +02:00
Carlos Martín Nieto
97f1722244
Merge pull request #332 from ezwiebel/rebase-wrapper
...
Rebase wrapper
2017-04-13 20:50:41 +02:00
Adam Berkovec
de521bb2b4
Fix memory leak in Patch.String()
...
Buffer allocated in Patch.String() was never freed
Signed-off-by: Can Berk Güder <cbguder@pivotal.io>
2017-03-23 12:16:43 -07:00
M. Adam Kendall
7738ebe30a
Add new repository open flags
2017-03-07 23:23:24 -05:00
Aaron O'Mullan
ee2a023868
Remove unnecessary C.git_tree_entry_free calls ...
...
As per the docs, these entries belong to the tree and don’t need to be
freed by the caller:
*
https://libgit2.github.com/libgit2/#HEAD/group/tree/git_tree_entry_bynam
e
2017-02-25 02:13:57 +01:00
Aaron O'Mullan
f503d918aa
Fix memleaks in Tree.EntryBy(Name/Path/Index), fixes #313
2017-02-24 22:55:14 +01:00
Carlos Martín Nieto
4a14260153
Merge pull request #362 from libgit2/cmn/master-tip-static
...
Update master to latest libgit2 and build statically
2017-01-20 22:55:25 +00:00
Carlos Martín Nieto
b020c1140a
Update the description of the branches in README.
2017-01-20 13:48:39 +00:00
Carlos Martín Nieto
9f4e0a46b6
Update libgit2 to df4dfaad
2017-01-20 13:20:30 +00:00
Carlos Martín Nieto
f037074198
Merge remote-tracking branch 'origin/next'
2017-01-20 00:46:34 +00:00
Carlos Martín Nieto
5d0a4c752a
Bump vendored libgit2 to ee89941fa
2017-01-09 22:13:18 +00:00