libgit2 / git2go

Git to Go; bindings for libgit2. Like McDonald's but tastier.
MIT License
1.93k stars 316 forks source link

Allow skipping an entry expansion in `tree.Walk()` #838

Closed lhchavez closed 3 years ago

lhchavez commented 3 years ago

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