summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-05-07script/build-libgit2-static.sh: correctly set ROOTJon Miller
The ROOT variable is not being set correctly. Need to use dirname against $0 as well as only go up one directory instead of two.
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.
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-07Add support for mempacklhchavez
This allows the creation of git packfiles without needing to write them to the filesystem.