4f3a615c32bb15bd67cb0a467a7114453fc9a6f1
   1#ifndef STATUS_H
   2#define STATUS_H
   3
   4#include <stdio.h>
   5
   6enum color_wt_status {
   7        WT_STATUS_HEADER,
   8        WT_STATUS_UPDATED,
   9        WT_STATUS_CHANGED,
  10        WT_STATUS_UNTRACKED,
  11};
  12
  13struct wt_status {
  14        int is_initial;
  15        char *branch;
  16        const char *reference;
  17        int verbose;
  18        int amend;
  19        int untracked;
  20        /* These are computed during processing of the individual sections */
  21        int commitable;
  22        int workdir_dirty;
  23        int workdir_untracked;
  24        FILE *fp;
  25};
  26
  27int git_status_config(const char *var, const char *value);
  28void wt_status_prepare(struct wt_status *s);
  29void wt_status_print(struct wt_status *s);
  30
  31#endif /* STATUS_H */