git-commit.sh: convert run_status to a C builtin
[git/mingw.git] / wt-status.h
blob75d3cfef9550f9bd109e1415c1678e036c04d7d5
1 #ifndef STATUS_H
2 #define STATUS_H
4 enum color_wt_status {
5 WT_STATUS_HEADER,
6 WT_STATUS_UPDATED,
7 WT_STATUS_CHANGED,
8 WT_STATUS_UNTRACKED,
9 };
11 struct wt_status {
12 int is_initial;
13 char *branch;
14 const char *reference;
15 int commitable;
16 int verbose;
17 int amend;
20 int git_status_config(const char *var, const char *value);
21 void wt_status_prepare(struct wt_status *s);
22 void wt_status_print(struct wt_status *s);
24 #endif /* STATUS_H */