summaryrefslogtreecommitdiff
path: root/tree_test.go
AgeCommit message (Collapse)Author
2021-09-30Allow skipping an entry expansion in `tree.Walk()` (#838)lhchavez
It is now possible to skip expanding an entry in `tree.Walk()` by returning `TreeWalkSkip`, in addition to stopping altogether by returning a non-nil error. Fixes: #837
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-02-17Use Filemode in TreeBuilder.Insert, and add test coverage for someHan-Wen Nienhuys
TreeBuilder methods.
2015-07-24Find tree entry by idCalin Seciu
Add support for 'git_tree_entry_byid'.