summaryrefslogtreecommitdiff
path: root/branch_test.go
AgeCommit message (Collapse)Author
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
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-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-02-19Add BranchIterator#ForEach.David Calavera
This abstracts the branch iteration from the user.
2014-04-04merge with improved error handling logicJesse Ezell
2014-03-20remove channel based iteration for branch / ref. Add ReferenceNameIterator. ↵Jesse Ezell
All iterators use Next(). Remove interfaces.
2014-03-19various improvements to interfaceJesse Ezell
2014-03-19split out name iteratorJesse Ezell
2014-03-19remove Branch struct, unify reference iteratorsJesse Ezell
2014-03-12add branch iterator / remove useless repo from reference iteratorJesse Ezell