summaryrefslogtreecommitdiff
path: root/git_test.go
AgeCommit message (Collapse)Author
2021-09-05Add support for managed HTTP/S transports (#810)lhchavez
This change uses the newly-exposed Transport interface to use Go's implementation of http.Client instead of httpclient via libgit2.
2021-09-05Add support for custom smart transports (#806)lhchavez
This change adds support for git smart transports. This will be then used to implement http, https, and ssh transports that don't rely on the libgit2 library.
2020-12-10Ensure that no pointer handles leak during the test (#712)lhchavez
This change makes sure that pointer handles are correctly cleaned up during tests.
2020-12-05Mark some symbols to be deprecated #minor (#698)lhchavez
This change introduces the file deprecated.go, which contains any constants, functions, and types that are slated to be deprecated in the next major release. These symbols are deprecated because they refer to old spellings in pre-1.0 libgit2. This also makes the build be done with the `-DDEPRECATE_HARD` flag to avoid regressions. This, together with [gorelease](https://godoc.org/golang.org/x/exp/cmd/gorelease)[1] should make releases safer going forward. 1: More information about how that works at https://go.googlesource.com/exp/+/refs/heads/master/apidiff/README.md
2020-08-18Add support for creating signed commits and signing commits during a rebase ↵michael boulton
(#626)
2016-08-27Merge remote-tracking branch 'upstream/master' into nextCarlos Martín Nieto
2016-08-27Run the tests in parallelCarlos Martín Nieto
This saves about 1s, or 1/3 of the test runtime. The linking is still much slower, but this we can control.
2016-08-05Update libgit2 to 73dab769Carlos Martín Nieto
This version reloads the index on checkout, which showed we were not persisting the updated index to disk and thus would have conflicts on checkout.
2015-04-24tests: always clean up temporary repository dirsPatrick Steinhardt
Some test repositories are not correctly removed after the tests did run. Fix by introducing a function that is to be used for cleaning up temporary test repositories.
2015-03-04CherrypickMark Probst
2014-05-03test: adjust to safe commit appendCarlos Martín Nieto
When we create a commit and tell the library to update a ref, we need to make sure to pass the current tip. This is what we should have been doing in a function called 'upateReadme()' anyway. The existing code creates a new root commit, which is not an update.
2014-04-26Merge commit 'refs/pull/72/head' of github.com:libgit2/git2goCarlos Martín Nieto
Conflicts: git.go wrapper.c
2014-04-02make it possible to handle errorsJesse Ezell
2014-03-20refactor and cleanup codeJesse Ezell
2014-03-20merge with latestJesse Ezell
2014-03-20cleanup and refactor diff / patchJesse Ezell
2014-03-19Oid: fix IsZero()Carlos Martín Nieto
We need to compare against the number zero, not its ASCII value.
2014-02-27add push, refine remotesJesse Ezell
2013-04-16Add @carlosmn's testsVicent Marti