Rubén Justo [off-list ref] writes:
Avoid some confusing errors operating with orphan branches when
working with worktrees.
Changes from v2:
- Renamed "ishead_and_reject_rebase_or_bisect_branch()" to
"die_if_branch_is_being_rebased_or_bisected()"
A proposed name "die_if_branch_is_is_use()" has not been used because
it could lead to confusion. We don't yet support copying or renaming
a branch being rebased or bisected, but we do under other uses.
Quite sensible.
- Comments added and variables renamed to make more clear the intention and
the functioning.
OK.
Will update what has been queued. Let's see if we get positive
reviews on this round and start merging it down.
Thanks.