diff options
Diffstat (limited to 'wt-status.h')
-rw-r--r-- | wt-status.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/wt-status.h b/wt-status.h index 283a9fef03..2ca93f6957 100644 --- a/wt-status.h +++ b/wt-status.h @@ -4,6 +4,9 @@ #include <stdio.h> #include "string-list.h" #include "color.h" +#include "pathspec.h" + +struct worktree; enum color_wt_status { WT_STATUS_HEADER = 0, @@ -84,6 +87,7 @@ struct wt_status_state { int cherry_pick_in_progress; int bisect_in_progress; int revert_in_progress; + int detached_at; char *branch; char *onto; char *detached_from; @@ -98,6 +102,10 @@ void wt_status_prepare(struct wt_status *s); void wt_status_print(struct wt_status *s); 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); |