Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 30, 2021

Conversation

lhchavez
Copy link
Contributor

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

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: libgit2#837
@lhchavez lhchavez merged commit 9b15518 into libgit2:main Sep 30, 2021
@lhchavez lhchavez deleted the tree-walk-skip branch September 30, 2021 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to stop iteration in tree.Walk() since #700
1 participant