summaryrefslogtreecommitdiff
path: root/revparse_test.go
AgeCommit message (Collapse)Author
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.
2015-08-04Move from an Object interface to a typeCarlos Martín Nieto
An Object should be about representing a libgit2 object rather than showing which methods it should support. Change any return of Object to *Object and provide methods to convert between this and the particular type.
2015-06-28Create a ReferenceCollection for managing referencesCarlos Martín Nieto
As with the other commits, this clears up the clutter in naming and around the Repository's API.
2015-06-08Merge remote-tracking branch 'origin/master' into nextCarlos Martín Nieto
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-15Update to libgit2 d675982a153Carlos Martín Nieto
There's been some changes to the checkout strategy, especially the SAFE_CREATE mode, which is now the RECREATE_MISSING flag, though that shouldn't be necessary to use in the general case. The largest changes come from the removal of the signture from ref-modifying functions/methods and the removal of the reflog string in all but those directly related to moving references.
2014-08-22Extract data into a go struct.David Calavera
2014-07-24Add Repository#RevParseExt.David Calavera
2014-07-24Add Repository#RevParseSingle.David Calavera
2014-07-24Make a new pointer to pass to git_revparse.David Calavera
2014-07-24Add simple test for `rev-parse HEAD`.David Calavera
2014-07-24Add Repository#RevParse.David Calavera