From: Nguyễn Thái Ngọc Duy Date: Fri, 22 Apr 2016 13:01:35 +0000 (+0700) Subject: worktree.c: check whether branch is bisected in another worktree X-Git-Tag: v2.9.0-rc0~12^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/04a3dfb8b5993fcb807fcbca8ed7ea608d30a204?hp=04a3dfb8b5993fcb807fcbca8ed7ea608d30a204 worktree.c: check whether branch is bisected in another worktree Similar to the rebase case, we want to detect if "HEAD" in some worktree is being bisected because 1) we do not want to checkout this branch in another worktree, after bisect is done it will want to go back to this branch 2) we do not want to delete the branch is either or git bisect will fail to return to the (long gone) branch Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---