diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-06-28 15:20:35 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-06-28 15:20:35 -0700 |
commit | 30e8e6fdeadbd7c3f7dd8defed654e1e98290a45 (patch) | |
tree | 0cfc87e044491a1879cef0eb6258c4eb0562e13c /wt-status.h | |
parent | fbc9724188fb4040e1f248de1e61752b385c1841 (diff) | |
parent | 2d1ccebae41541946ddd7e32f291f3c8983feea9 (diff) | |
download | git-30e8e6fdeadbd7c3f7dd8defed654e1e98290a45.tar.gz git-30e8e6fdeadbd7c3f7dd8defed654e1e98290a45.tar.xz |
Merge branch 'lk/more-helpful-status-hints'
Give finer classification to various states of paths in conflicted
state and offer advice messages in the "git status" output.
Diffstat (limited to 'wt-status.h')
-rw-r--r-- | wt-status.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/wt-status.h b/wt-status.h index 14aa9f7e1..c1066a0ec 100644 --- a/wt-status.h +++ b/wt-status.h @@ -15,6 +15,7 @@ enum color_wt_status { WT_STATUS_LOCAL_BRANCH, WT_STATUS_REMOTE_BRANCH, WT_STATUS_ONBRANCH, + WT_STATUS_IN_PROGRESS, WT_STATUS_MAXSLOT }; @@ -71,6 +72,16 @@ struct wt_status { struct string_list ignored; }; +struct wt_status_state { + int merge_in_progress; + int am_in_progress; + int am_empty_patch; + int rebase_in_progress; + int rebase_interactive_in_progress; + int cherry_pick_in_progress; + int bisect_in_progress; +}; + void wt_status_prepare(struct wt_status *s); void wt_status_print(struct wt_status *s); void wt_status_collect(struct wt_status *s); |