summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-23Update README.mdSuhaib Mujahid
2020-03-19Update README.mdlhchavez
Clarifying the versions since we're using Go 1.11 module version rules now.
2020-03-19Add the version number to go.modlhchavez
This is the second take on trying to tag the current release with a Go version.
2020-03-04Uprev vendor/libgit2 to v0.99lhchavez
This uprevs libgit2 to the latest and greatest.
2020-02-27Merge pull request #542 from slyphon/fix-error-namelhchavez
Resolves issue #541 - typo in error code 'ErrAmbigious'
2020-02-27Resolves issue #541 - typo in error code 'ErrAmbigious'Jonathan Simms
I've added an additional constant with the correct spelling. I did this rather than removing the existing constant to avoid breaking existing code with the misspelled name.
2020-02-23Fix the DiffFlag typelhchavez
This change makes the underlying type of DiffFlag be uint32 instead of int. That makes it possible to build on 32-bit systems. Fixes: #487
2020-02-23Add odb.NewOdbBackendLoose()lhchavez
This change adds support for odb.NewOdbBackendLoose(). This, together with the git.Packbuilder, can do what Mempack does with a lot less memory.
2020-02-23Add support for indexers and alternate odb packfileslhchavez
This allows for implementations of git servers written in Go.
2020-02-23Fix the Cred interfacelhchavez
This change adds Cred.Free() and finalizers to prevent memory leaks. It also makes the interface for Cred more idiomatic and return actual errors intead of ints.
2020-02-23Merge pull request #429 from josharian/cherrypick-commitlhchavez
cherrypick: wrap git_cherrypick_commit
2020-02-23Add testlhchavez
2020-02-23Merge remote-tracking branch 'upstream/master' into cherrypick-commitlhchavez
2020-02-23Merge pull request #423 from josharian/more-annotated-commitlhchavez
merge: add two missing AnnotatedCommit methods
2020-02-23Add test and runtime.KeepAlive()lhchavez
2020-02-23Merge remote-tracking branch 'upstream/master' into more-annotated-commitlhchavez
2020-02-23Merge pull request #400 from ramanenka/git_index_add_frombufferlhchavez
Add binding for `git_index_add_frombuffer`
2020-02-23Update the method namelhchavez
2020-02-23Merge remote-tracking branch 'upstream/master' into git_index_add_frombufferlhchavez
2020-02-22Remove Version from RevertOptionsRichard Burke
Version is defaulted to GIT_REVERT_OPTIONS_VERSION
2020-02-22Add revert functionalityRichard Burke
Closes #436
2020-02-22Free() the copies of repository.LookupXxx()lhchavez
`repository.LookupXxx()` allocate new go `Object`s that have a reference to a `C.git_object`. Those are then duplicated with `git_object_dup()`, so the original `Object`s linger unnecessarily until the Go GC kicks in. This change explicitly calls `Free()` on the originals to avoid unnecessary accumulation of garbage.
2020-02-22Update CI configurationlhchavez
This change: * Updates the GitHub actions so that they run different commands for the dynamic and static flavors of libgit2. * Updates the .travis.yml file so that it does roughly the same as the GitHub actions. * Adds the release-* branches to the CI configurations.
2020-02-20Uprev libgit2lhchavez
This uprevs libgit2 to the latest and greatest. Notably, * Fixes the interface of `git_mempack_reset`, since it now returns an `int` instead of being `void`. Fixes: #533
2020-02-12Merge pull request #520 from libgit2/actionslhchavez
Setup CI via Actions
2020-02-13Fix build for go 1.9lhchavez
This change makes the #includes between credentials.go and remote.go consistent to avoid a build error in go 1.9.
2020-02-13Merge remote-tracking branch 'origin/master' into actionslhchavez
2020-02-12Update .github/workflows/ci.ymllhchavez
2020-02-12Merge pull request #527 from dbolkensteyn/masterlhchavez
Fixes #513 - Segfault during tree walk
2020-02-12Merge pull request #523 from josharian/diff-stringerslhchavez
make Delta and DiffLineType stringers
2020-02-12Merge pull request #524 from josharian/doc-paramslhchavez
provide param names in DiffForEachFileCallback
2020-02-12Merge pull request #503 from jonEbird/static-build-script-cleanuplhchavez
script/build-libgit2-static.sh: correctly set ROOT
2020-02-12Merge pull request #515 from Nivl/patch-1Carlos Martín Nieto
fix invalid guard forcing v27 instead of v28
2019-12-10Merge pull request #528 from libgit2/cmn/bump-libgit2Carlos Martín Nieto
Bump libgit2 to 6777db8e83
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-11-17Similar to #513 Fix potential segfault on Tag objectsDinesh Bolkensteyn
2019-11-17Fixes #513 - Segfault during tree walkDinesh Bolkensteyn
2019-08-27provide param names in DiffForEachFileCallbackJosh Bleecher Snyder
Without a parameter name, the float64 param is pretty inscrutable.
2019-08-27make Delta and DiffLineType stringersJosh Bleecher Snyder
2019-08-15submoduleCarlos Martín Nieto
2019-08-15Setup CI via ActionsCarlos 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-19fix invalid guard forcing v27 instead of v28Melvin
2019-06-18Merge pull request #506 from takuji/git_commit_message_encodingCarlos Martín Nieto
Add git_commit_message_encoding support