summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-10credentials: unconfuse Go about the typeCarlos Martín Nieto
For some reason cgo thinks the `credtype` field does not exist in `git_cred` so let's put it into the C code.
2019-12-10travis: update versions of Go to be testedCarlos Martín Nieto
2019-12-10Adjust to libgit2 changesCarlos Martín Nieto
2019-12-10Makefile: disable test cachingCarlos Martín Nieto
This does not work well when you're changing C stuff underneath.
2019-12-10Bump libgit2 to 6777db8e83Carlos Martín Nieto
2019-08-13Merge pull request #519 from libgit2/cmn/update-libgit2Carlos Martín Nieto
Update vendored libgit2 to 08cfa43d0e1a921
2019-08-13script: tell libgit2 to use the builtin regex backendCarlos Martín Nieto
2019-08-13Update vendored libgit2 to 08cfa43d0e1a921Carlos Martín Nieto
2019-06-18Merge pull request #506 from takuji/git_commit_message_encodingCarlos Martín Nieto
Add git_commit_message_encoding support
2019-06-18Merge pull request #512 from codeocean/diff-to-bufCarlos Martín Nieto
Add Diff.ToBuf wrapping git_diff_to_buf
2019-05-29Add Diff.ToBuf wrapping git_diff_to_bufSegev Finer
2019-05-10Add Commit.MessageEncoding() method.Takuji Shimokawa
2019-02-15Merge pull request #479 from lhchavez/uprev-libgit2Carlos Martín Nieto
Uprev vendored libgit2 to v.0.28
2019-02-11Uprev vendored libgit2 to v0.28lhchavez
New version is here!
2019-01-15Merge pull request #448 from lhchavez/mempackCarlos Martín Nieto
Add support for mempack
2019-01-15Keep odb alive when adding mempackCarlos Martín Nieto
2019-01-08Merge pull request #466 from lhchavez/repository-create_commit_from_idsCarlos Martín Nieto
Add support for CreateCommitFromIds
2019-01-08Merge remote-tracking branch 'upstream/master' into ↵lhchavez
repository-create_commit_from_ids
2019-01-08Keeping the tree alivelhchavez
2019-01-08Add a test and some comments as to the ugly pointer arithmeticlhchavez
2019-01-08Addressed review feedback and added a testlhchavez
2019-01-08Merge remote-tracking branch 'upstream/master' into mempacklhchavez
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-11-15Add support for CreateCommitFromIdslhchavez
This change adds support for CreateCommitFromIds from libgit2.