Code

git-patch-id: do not trip over "no newline" markers
[git.git] / wt-status.h
index 4f190454e5b2ad46b33894fb55aa7dd8dd28d604..20b17cf4393b8f9acce93320fb97998ad7cd609b 100644 (file)
@@ -14,6 +14,8 @@ enum color_wt_status {
        WT_STATUS_UNMERGED,
        WT_STATUS_LOCAL_BRANCH,
        WT_STATUS_REMOTE_BRANCH,
+       WT_STATUS_ONBRANCH,
+       WT_STATUS_MAXSLOT
 };
 
 enum untracked_status_type {
@@ -45,7 +47,8 @@ struct wt_status {
        int submodule_summary;
        int show_ignored_files;
        enum untracked_status_type show_untracked_files;
-       char color_palette[WT_STATUS_REMOTE_BRANCH+1][COLOR_MAXLEN];
+       const char *ignore_submodule_arg;
+       char color_palette[WT_STATUS_MAXSLOT][COLOR_MAXLEN];
 
        /* These are computed during processing of the individual sections */
        int commitable;