Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 29 lines (24 sloc) 0.566 kb
c91f0d9 Jeff King git-commit.sh: convert run_status to a C builtin
peff authored
1 #ifndef STATUS_H
2 #define STATUS_H
3
4 enum color_wt_status {
5 WT_STATUS_HEADER,
6 WT_STATUS_UPDATED,
7 WT_STATUS_CHANGED,
8 WT_STATUS_UNTRACKED,
9 };
10
11 struct wt_status {
12 int is_initial;
13 char *branch;
14 const char *reference;
15 int verbose;
16 int amend;
2074cb0 dscho Teach runstatus about --untracked
dscho authored
17 int untracked;
2a3a3c2 j-r Provide better feedback for the untracked only case in status output
j-r authored
18 /* These are computed during processing of the individual sections */
19 int commitable;
20 int workdir_dirty;
21 int workdir_untracked;
c91f0d9 Jeff King git-commit.sh: convert run_status to a C builtin
peff authored
22 };
23
24 int git_status_config(const char *var, const char *value);
25 void wt_status_prepare(struct wt_status *s);
26 void wt_status_print(struct wt_status *s);
27
28 #endif /* STATUS_H */
Something went wrong with that request. Please try again.