# unable to delete branch with forgotten bisect

1 messages from 2025-02-21 to 2025-02-21. Participants: stsp.
Thread: https://gitlist.dev/t/62985

## stsp, 2025-02-21 10:03

Subject: unable to delete branch with forgotten bisect
Message-ID: <cae34516-5437-49d3-8d39-16f4059a81a8@yandex.ru>
URL: https://gitlist.dev/e/cae34516-5437-49d3-8d39-16f4059a81a8%40yandex.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


```
