summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-07Merge pull request #477 from lhchavez/patch-1Carlos Martín Nieto
Add support for Go 1.11 modules
2019-01-07Merge pull request #475 from lhchavez/self-contained-buildCarlos Martín Nieto
Improve the static build script
2019-01-07Merge pull request #476 from lhchavez/clean-up-leaked-dirCarlos Martín Nieto
Clean up one leaked temporary directory
2019-01-06Add support for Go 1.11 moduleslhchavez
This change adds a `go.mod` file. An empty file is sufficient since this project has no external dependencies. For people that want to use the static version of libgit2, this module can be vendored and the following can be added to their `go.mod` file: replace github.com/libgit2/git2go => ./vendor/github.com/libgit2/git2go
2019-01-05Clean up one leaked temporary directorylhchavez
A `defer cleanupTestRepo()` was missing.
2019-01-05Improve the static build scriptlhchavez
This change: * Uses the installed version of both the library and the pkgconfig file, which fixes path resolution on Ubuntu Xenial. * Uses quoting liberally so that paths with spaces in them are correctly handled. * Moves the build+install directories to static-build/ in the git2go repository to avoid having a dirty vendor/libgit2 checkout.
2019-01-05Merge pull request #420 from josharian/rebase-operation-type-stringerCarlos Martín Nieto
Add RebaseOperationReword, and make RebaseOperationType a stringer
2019-01-05Merge pull request #474 from libgit2/cmn/deprecated-namesCarlos Martín Nieto
Use git_object_t instead of deprecated git_otype
2019-01-05Use git_object_t instead of deprecated git_otypeCarlos Martín Nieto
2019-01-04Merge pull request #471 from libgit2/cmn/bump-libgit2Carlos Martín Nieto
Bump vendored libgit2 to fba70a9d5f
2019-01-04Bump vendored libgit2 to fba70a9d5fCarlos Martín Nieto
This includes updating the `Index.WriteTreeTo` test as it was abusing an oversight of the object creation safety checks and creating a tree referencing a non-existent blob. Instead we update it to the primary purpose of this method which is to write into a repository from an unattached index.
2019-01-04Merge pull request #445 from rmg/exclusive-pkg-configCarlos Martín Nieto
static: use pkg-config exclusively when using it
2019-01-04Merge pull request #465 from lhchavez/packbuilder-insert_from_walkCarlos Martín Nieto
Add support for Packbuilder.InsertFromWalk()
2019-01-04Merge pull request #463 from Nivl/patch-1Carlos Martín Nieto
Add index.Clear() to clear the index object
2019-01-03Merge pull request #432 from josharian/simplify-oidCarlos Martín Nieto
git: simplify some Oid methods
2019-01-03Merge pull request #447 from walkenzoy/masterCarlos Martín Nieto
git2go: small fixes to odb module
2019-01-02Merge pull request #425 from josharian/more-merge-file-flagsCarlos Martín Nieto
merge: add missing MergeFileFlag constants
2019-01-02Merge pull request #424 from josharian/sigdocCarlos Martín Nieto
signature: improve Signature.Offset docs
2019-01-02Merge pull request #470 from lhchavez/fix-odbreadstream-readCarlos Martín Nieto
Return io.EOF on OdbReadStream.Read()
2019-01-02Merge pull request #469 from praveentiru/pty/issue#256Carlos Martín Nieto
Remove unused parameter in OpenOndisk #256
2018-12-28Add some testslhchavez
This should prevent regressions in the future.
2018-12-28Return io.EOF on OdbReadStream.Read()lhchavez
This change makes OdbReadStream.Read() comply with the usual io.Reader semantics.
2018-12-25Fixed issues with testspraveen
2018-12-25Remove unused parameter in OpenOndiskpraveen
2018-12-17Merge pull request #468 from wmedlar/patch-1Carlos Martín Nieto
Fix typo in constant name
2018-12-17Fix typo in constant nameWill Medlar
2018-11-15Add support for Packbuilder.InsertFromWalk()lhchavez
This change adds support for Packbuilder.InsertFromWalk() from libgit2.
2018-10-25Add index.Clear() to clear the index objectMelvin
2018-10-07Merge pull request #460 from libgit2/cmn/bump-masterCarlos Martín Nieto
Update vendored libgit2 to 838a2f291
2018-10-07Update vendored libgit2 to 838a2f291Carlos Martín Nieto
2018-08-23static: use pkg-config exclusively when using itRyan Graham
When using the static linking option on platforms that use pkg-config, use ONLY pkg-config to get the CFLAGS and LDFLAGS. This prevents pulling in dependencies and flags for any non-vendored version that may be present on the host. The main practical effect of this is that if someone doesn't need/want any sort of remote access support at all they can completely disable libcurl, libssh2, libssl, etc and produce a smaller/simpler binary and greatly simplify their build-time dependencies. When done properly, the generated pkg-config file will tell cgo everything it needs to know. This also prevents confusion if there is a system copy of libgit2 that is being given priority over the vendored build. Signed-off-by: Ryan Graham <[email protected]>
2018-08-08Merge pull request #452 from libgit2/cmn/bump-libgit2-masterCarlos Martín Nieto
Bump vendored libgit2 to 275d84c583
2018-08-08Remove uses of deprecated git_buf_freeCarlos Martín Nieto
2018-08-08Bump vendored libgit2 to 9275d84c583Carlos Martín Nieto
2018-07-03git2go: small fixes to odb moduleMichel Lespinasse
- Fix couple cgo issues in odb.Write() and odb.Hash(). This is the same issue - and same solution - as repo.CreateBlobFromBuffer() used to have. - Add test for odb.Read()
2018-05-31Merge pull request #443 from walkenzoy/masterCarlos Martín Nieto
git2go: fix reference iterator leak
2018-05-30git2go: fix reference iterator leakMichel Lespinasse
This fixes a leak that was apparently introduced in commit 55a109614151.
2018-05-29Merge pull request #442 from libgit2/cmn/bump-libgit2Carlos Martín Nieto
vendor: bump libgit2 to 7f6c1ce9760c6
2018-05-29vendor: bump libgit2 to 7f6c1ce9760c6Carlos Martín Nieto
2018-03-26travis: let yaml know these strings are stringsCarlos Martín Nieto
2018-03-26Merge pull request #438 from libgit2/cmn/bump-27Carlos Martín Nieto
vendor: update libgit2 to v0.27.0
2018-03-26travis: build against Go 1.10Carlos Martín Nieto
2018-03-26vendor: update libgit2 to v0.27.0Carlos Martín Nieto
2018-03-11Merge pull request #430 from sprohaska/pr/keep-aliveCarlos Martín Nieto
tree: keep tree receiver alive as long as dependent entry is used
2018-03-11Merge pull request #431 from josharian/refdocsCarlos Martín Nieto
reference: minor doc improvements
2018-02-22Merge pull request #434 from libgit2/cmn/bumpingCarlos Martín Nieto
Update vendored libgit2 to v0.27.0-rc1
2018-02-22merge: expose the conflict marker size optionCarlos Martín Nieto
2018-02-22Adjust to the change in the git_odb_open_rstream signatureCarlos Martín Nieto
2018-02-22Switch over the version contraints to v0.27Carlos Martín Nieto
2018-02-22vendor: bump libgit2 to 809b0ca6b (v0.27.0-rc1)Carlos Martín Nieto