Unable to stop iteration in tree.Walk() since #700 #837
Labels
No Label
bug
duplicate
enhancement
invalid
question
up for grabs
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: jcarr/git2go#837
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since the refactoring done in #700, there is no way I can see that allows stopping the iteration from a callback passed to
tree.Walk()
.Before the PR, it was a matter of returning
1
. Now, that does not work anymore.Am I missing something? Is there any other way now to stop the iteration?
/cc @lhchavez
Thank you so much!