Carlos Martín Nieto
30b904902b
Merge commit 'refs/pull/402/head' of github.com:libgit2/git2go into v26
2017-09-03 16:11:32 +02:00
Carlos Martín Nieto
1dedb84bde
Update vendored libgit2 to a released v0.26
2017-09-03 16:10:10 +02:00
Carlos Martín Nieto
f93b2433d5
Update the static version check to v0.26
2017-09-03 16:09:44 +02:00
Mikołaj Baranowski
e424134bb6
clone_checkout_strategy removed
...
https://github.com/libgit2/libgit2/releases/tag/v0.26.0
2017-07-22 20:10:08 +02:00
Carlos Martín Nieto
e0c6962c02
Merge pull request #399 from AnalogJ/patch-1
...
Update git_dynamic.go
2017-07-21 07:00:09 +02:00
Jason Kulatunga
22c1bf8e06
Update git_dynamic.go
...
this branch should support libgit2 v0.26.0
2017-07-15 12:04:02 -07:00
Carlos Martín Nieto
450e168181
Merge remote-tracking branch 'origin/master' into v26
2017-07-08 22:36:58 +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
d29ae45d5e
Merge remote-tracking branch 'origin/master' into v26
...
This is a no-op merge to reconcile the differences in the Commit receivers.
2017-07-08 17:21:52 +02:00
Carlos Martín Nieto
0ea4019bdc
Merge pull request #394 from libgit2/cmn/keepalive-all-the-things-v26
...
KeepAlive all the things for v26
2017-07-08 17:04:34 +02:00
Carlos Martín Nieto
76a60dfbeb
Third round of keep-alive aditions
2017-07-08 16:53:34 +02:00
Carlos Martín Nieto
7c587b52cf
Second round of keep-alives
2017-07-08 16:53:34 +02:00
Carlos Martín Nieto
03c617ab62
First round of mass keep-alive additions
2017-07-08 16:53:31 +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
Carlos Martín Nieto
b8a9efd21f
Build /v\d+/ branches
2016-12-23 19:14:05 +00:00
ezwiebel
6118c9ba37
LockOSThread in CurrentOperationIndex for git error creation
2016-11-23 17:10:59 +11:00
Carlos Martín Nieto
a41e2b6644
Update to 0.25-rc1
2016-11-19 15:09:41 +01:00