archive - leakfix for format_subst()
[gitweb.git] / wt-status.h
index 0a5a5b7ba9fc1d50c7dcab8220a4fb77ffecddb4..cfea4ae68805d74b825cae6935a4a0dd5de5134d 100644 (file)
@@ -12,10 +12,13 @@ struct wt_status {
        int is_initial;
        char *branch;
        const char *reference;
-       int commitable;
        int verbose;
        int amend;
        int untracked;
+       /* These are computed during processing of the individual sections */
+       int commitable;
+       int workdir_dirty;
+       int workdir_untracked;
 };
 
 int git_status_config(const char *var, const char *value);