wt-status.c: split bisect detection out of wt_status_get_state()
commitf5d067a2b28143dca237712e5dae7738d563f85c
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 22 Apr 2016 13:01:34 +0000 (22 20:01 +0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 22 Apr 2016 21:09:39 +0000 (22 14:09 -0700)
tree82d78fa5563ca1a2a638933744e10d65433fe859
parent8d9fdd7087d0c2700a56e20043d5d79c9951f64f
wt-status.c: split bisect detection out of wt_status_get_state()

And make it work with any given worktree, in preparation for (again)
find_shared_symref(). read_and_strip_branch() is deleted because it's
no longer used.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
wt-status.c
wt-status.h