summaryrefslogtreecommitdiff
path: root/wt-status.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-04-22 20:01:34 +0700
committerJunio C Hamano <gitster@pobox.com>2016-04-22 14:09:39 -0700
commitf5d067a2b28143dca237712e5dae7738d563f85c (patch)
tree82d78fa5563ca1a2a638933744e10d65433fe859 /wt-status.h
parent8d9fdd7087d0c2700a56e20043d5d79c9951f64f (diff)
downloadgit-f5d067a2b28143dca237712e5dae7738d563f85c.tar.gz
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>
Diffstat (limited to 'wt-status.h')
-rw-r--r--wt-status.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wt-status.h b/wt-status.h
index c4ddcad27d..2ca93f6957 100644
--- a/wt-status.h
+++ b/wt-status.h
@@ -104,6 +104,8 @@ void wt_status_collect(struct wt_status *s);
void wt_status_get_state(struct wt_status_state *state, int get_detached_from);
int wt_status_check_rebase(const struct worktree *wt,
struct wt_status_state *state);
+int wt_status_check_bisect(const struct worktree *wt,
+ struct wt_status_state *state);
void wt_shortstatus_print(struct wt_status *s);
void wt_porcelain_print(struct wt_status *s);