unable to delete branch with forgotten bisect
- From
- stsp <stsp2@yandex.ru>
- Date
- Feb 21, 2025, 10:03 UTC
- Message-ID
- <cae34516-5437-49d3-8d39-16f4059a81a8@yandex.ru>
Hi.
Trying to delete the branch, I was getting this error:
error: cannot delete branch '<branch_name>' used by worktree at '<wtree_path>'
It wasn't used by that work-tree directly, so I was very confused. It appears this branch had the forgotten bisect.
It would be very good if git can write a more prominent message for such a case, like:
error: cannot delete branch '<branch_name>' because bisect is in progress