summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-08Merge pull request #396 from libgit2/cmn/rebase-no-operationCarlos Martín Nieto
rebase: correct the return values for CurrentOperationIndex
2017-07-08rebase: correct the return values for CurrentOperationIndexCarlos Martín Nieto
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-08Merge pull request #395 from libgit2/cmn/check-thread-lockCarlos Martín Nieto
Deduplicate Makefile static target and add thread locking check
2017-07-08Deduplicate Makefile static target and add thread locking checkCarlos Martín Nieto
It turns out we had been running CI without performing the thread locking check.
2017-07-08Merge pull request #393 from libgit2/cmn/keepalive-all-the-thingsCarlos Martín Nieto
KeepAlive all the things
2017-07-08Third round of keep-alive aditionsCarlos Martín Nieto
2017-07-08Second round of keep-alivesCarlos Martín Nieto
2017-07-08First round of mass keep-alive additionsCarlos Martín Nieto
2017-07-07commit: add keep-alives for those that need conversion to pointer receiversCarlos Martín Nieto
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-07commit: add thread locking to signature extractionCarlos Martín Nieto
2017-07-06Merge pull request #389 from KatolaZ/masterCarlos Martín Nieto
Added Commit.ExtractSignature to wrap git_commit_extract_signature
2017-07-06Merge pull request #390 from libgit2/cmn/go-vetCarlos Martín Nieto
Fix a couple of issues reported by go-vet
2017-07-06Fix a couple of issues reported by go-vetCarlos Martín Nieto
2017-07-06Added Commit.ExtractSignature to wrap git_commit_extract_signatureKatolaZ
2017-07-04Merge pull request #387 from libgit2/cmn/remote-refsCarlos Martín Nieto
remote: add keep-alive and references to the repository
2017-07-04travis: update the Go versionsCarlos Martín Nieto
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-04remote: add keep-alive and references to the repositoryCarlos Martín Nieto
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-05-20Merge pull request #376 from ankurmittal/short-hashCarlos Martín Nieto
Add support for getting short object Id
2017-04-19Add support for getting short object IdAnkur Mittal
2017-04-14Merge pull request #371 from libgit2/static-dynamicCarlos Martín Nieto
Allow building statically via the "static" build tag
2017-04-14travis: build staticallyCarlos Martín Nieto
2017-04-14Allow building statically via the "static" build tagCarlos Martín Nieto
2017-04-14Merge pull request #366 from LinuxBozo/repository-open-flagsCarlos Martín Nieto
Add new repository open flags
2017-04-14Merge pull request #368 from cbguder/masterCarlos Martín Nieto
Fix memory leak in Patch.String()
2017-04-13Merge pull request #365 from AaronO/fix/memleak-tree-entrybynameCarlos Martín Nieto
Fix memleaks in Tree.EntryBy(Name/Path/Index), fixes #313
2017-04-13Merge pull request #332 from ezwiebel/rebase-wrapperCarlos Martín Nieto
Rebase wrapper
2017-03-23Fix memory leak in Patch.String()Adam Berkovec
Buffer allocated in Patch.String() was never freed Signed-off-by: Can Berk Güder <[email protected]>
2017-03-07Add new repository open flagsM. Adam Kendall
2017-02-25Remove unnecessary C.git_tree_entry_free calls ...Aaron O'Mullan
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-24Fix memleaks in Tree.EntryBy(Name/Path/Index), fixes #313Aaron O'Mullan
2017-01-20Merge pull request #362 from libgit2/cmn/master-tip-staticCarlos Martín Nieto
Update master to latest libgit2 and build statically
2017-01-20Update the description of the branches in README.Carlos Martín Nieto
2017-01-20Update libgit2 to df4dfaadCarlos Martín Nieto
2017-01-20Merge remote-tracking branch 'origin/next'Carlos Martín Nieto
2017-01-09Bump vendored libgit2 to ee89941faCarlos Martín Nieto
2016-12-23Build /v\d+/ branchesCarlos Martín Nieto
2016-11-23LockOSThread in CurrentOperationIndex for git error creationezwiebel
2016-11-19Update to 0.25-rc1Carlos Martín Nieto
2016-11-13Merge pull request #338 from libgit2/cmn/variable-substCarlos Martín Nieto
Use variable substitution instead of a wrapper script
2016-11-01Took @carlosmn PR review into accountezwiebel
2016-11-01Only test against 1.5 and upCarlos Martín Nieto
Go 1.5 is the first one which supports the variable replacement we're using for the flags. Any older versions aren't supported by the Go team now that 1.7 is out, so you should be on one of these versions.
2016-11-01Get rid of the with-static.sh scriptCarlos Martín Nieto
CGO can perform variable substitution in the directives, so we don't need to use a script to set up the variables; we can let the go tool do it for us.
2016-11-01Merge pull request #355 from libgit2/cmn/travis-branchesCarlos Martín Nieto
travis: only build master and next
2016-11-01Merge pull request #354 from libgit2/cmn/panic-threadingCarlos Martín Nieto
Add Feature query support & panic if libgit2 is not thread-aware
2016-10-31travis: only build master and nextCarlos Martín Nieto
The other branches will get built as part of a PR.
2016-10-31Panic if libgit2 is not thread-awareCarlos Martín Nieto
Go calling C is inherently multi-threaded. If libgit2 cannot handle threading, then we're going to crash at some random point. Crash right at the start so we know what's happening.
2016-10-31Add Features() to retrieve the compile-time features of libgit2Carlos Martín Nieto
2016-10-31Merge pull request #348 from MagicalTux/git2go_issue_314Carlos Martín Nieto
Make New*BackendFromC take unsafe.Pointer as argument
2016-10-31Merge pull request #353 from libgit2/update-nextCarlos Martín Nieto
Update to libgit2 a051ee3
2016-10-31Merge pull request #319 from netnose/remote-refinementsCarlos Martín Nieto
Remote Refinements