wt-status.hon commit Add an optional <mode> argument to commit/status -u|--untracked-files option (4bfee30)
   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        WT_STATUS_NOBRANCH,
  12};
  13
  14enum untracked_status_type {
  15        SHOW_NORMAL_UNTRACKED_FILES = 1,
  16        SHOW_ALL_UNTRACKED_FILES
  17};
  18extern enum untracked_status_type show_untracked_files;
  19
  20struct wt_status {
  21        int is_initial;
  22        char *branch;
  23        const char *reference;
  24        int verbose;
  25        int amend;
  26        int untracked;
  27        int nowarn;
  28        /* These are computed during processing of the individual sections */
  29        int commitable;
  30        int workdir_dirty;
  31        int workdir_untracked;
  32        const char *index_file;
  33        FILE *fp;
  34        const char *prefix;
  35};
  36
  37int git_status_config(const char *var, const char *value, void *cb);
  38extern int wt_status_use_color;
  39extern int wt_status_relative_paths;
  40void wt_status_prepare(struct wt_status *s);
  41void wt_status_print(struct wt_status *s);
  42
  43#endif /* STATUS_H */