You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In `parse_str`, despite the comment near `self.find_branches_by_name`,
`self.find_branches_by_name` actually handles partial branch name lookup
already, which means that the other branch searches are redundant.
Remove them, which also allows a lot of other code cleanup.
In particular, `Context` is no longer needed when parsing strings - only
when generating the `IdMap`. This makes it clear that the only inputs
are the `RefInfo` and the hunk assignments.
0 commit comments