Code

send-pack: unbreak push over stateless rpc
[git.git] / wt-status.h
index cd06a4d955208962de6df37cfe1ff452918d12f1..a0e75177bec925e95b4257811aae0bdee93c41f1 100644 (file)
@@ -3,9 +3,10 @@
 
 #include <stdio.h>
 #include "string-list.h"
+#include "color.h"
 
 enum color_wt_status {
-       WT_STATUS_HEADER,
+       WT_STATUS_HEADER = 0,
        WT_STATUS_UPDATED,
        WT_STATUS_CHANGED,
        WT_STATUS_UNTRACKED,
@@ -37,6 +38,7 @@ struct wt_status {
        int relative_paths;
        int submodule_summary;
        enum untracked_status_type show_untracked_files;
+       char color_palette[WT_STATUS_UNMERGED+1][COLOR_MAXLEN];
 
        /* These are computed during processing of the individual sections */
        int commitable;
@@ -46,11 +48,11 @@ struct wt_status {
        FILE *fp;
        const char *prefix;
        struct string_list change;
+       struct string_list untracked;
 };
 
-int git_status_config(const char *var, const char *value, void *cb);
 void wt_status_prepare(struct wt_status *s);
 void wt_status_print(struct wt_status *s);
-void wt_status_collect_changes(struct wt_status *s);
+void wt_status_collect(struct wt_status *s);
 
 #endif /* STATUS_H */