X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=wt-status.h;h=20b17cf4393b8f9acce93320fb97998ad7cd609b;hb=094574b32b799af01e5c0e0a44c2f41eb4a3f671;hp=9df9c9fad2512d7c1d7d6456cdd645d641b5a089;hpb=06cfa8a8589740b9dd4820ad1c2eff4b3d968de7;p=thirdparty%2Fgit.git diff --git a/wt-status.h b/wt-status.h index 9df9c9fad2..20b17cf439 100644 --- a/wt-status.h +++ b/wt-status.h @@ -13,7 +13,9 @@ enum color_wt_status { WT_STATUS_NOBRANCH, WT_STATUS_UNMERGED, WT_STATUS_LOCAL_BRANCH, - WT_STATUS_REMOTE_BRANCH + WT_STATUS_REMOTE_BRANCH, + WT_STATUS_ONBRANCH, + WT_STATUS_MAXSLOT }; enum untracked_status_type { @@ -46,7 +48,7 @@ struct wt_status { int show_ignored_files; enum untracked_status_type show_untracked_files; const char *ignore_submodule_arg; - char color_palette[WT_STATUS_REMOTE_BRANCH+1][COLOR_MAXLEN]; + char color_palette[WT_STATUS_MAXSLOT][COLOR_MAXLEN]; /* These are computed during processing of the individual sections */ int commitable;