Commit Graph

765 Commits

Author SHA1 Message Date
Carlos Martín Nieto c9f7fd544d
Merge pull request #473 from libgit2/cmn/bump-v26
Update vendored libgit2 to v0.26.8
2019-01-04 13:49:59 +00:00
Carlos Martín Nieto 0231fb5a68 Update vendored libgit2 to v0.26.8 2019-01-04 13:41:19 +00:00
Carlos Martín Nieto ef5cc6bc29
Merge pull request #458 from libgit2/cmn/bump-v26
Update vendored libgit2 to v0.26.7
2018-10-07 18:59:06 +02:00
Carlos Martín Nieto 2d22de8d7e Update vendored libgit2 to v0.26.7 2018-10-07 18:47:11 +02:00
Carlos Martín Nieto 4f0bb98c94
Merge pull request #451 from libgit2/cmn/bump-libgit2-26
Bump vendored libgit2 to v0.26.6
2018-08-08 12:01:02 +02:00
Carlos Martín Nieto d4a1519215 Bump vendored libgit2 to v0.26.6 2018-08-08 11:37:18 +02:00
Carlos Martín Nieto 1f712c6f96 vendor: really update to libgit2 v0.26.3 2018-03-13 09:00:06 +01:00
Carlos Martín Nieto ca5ecbe9b7 vendor: update to libgit2 v0.26.3 2018-03-12 23:56:13 +01:00
Carlos Martín Nieto 9ec9f647d4 vendor: update to v0.26.2 2018-03-12 23:30:27 +01:00
Carlos Martín Nieto eb0bf21280 travis: don't update submodules recursively
We have invalid submodules for testing and Travis gets unhappy.
2017-09-03 16:20:19 +02:00
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