Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 34 lines (28 sloc) 0.643 kb
c91f0d92 »
2006-09-08 git-commit.sh: convert run_status to a C builtin
1 #ifndef STATUS_H
2 #define STATUS_H
3
f26a0012 »
2007-09-17 Enable wt-status output to a given FILE pointer.
4 #include <stdio.h>
5
c91f0d92 »
2006-09-08 git-commit.sh: convert run_status to a C builtin
6 enum color_wt_status {
7 WT_STATUS_HEADER,
8 WT_STATUS_UPDATED,
9 WT_STATUS_CHANGED,
10 WT_STATUS_UNTRACKED,
11 };
12
13 struct wt_status {
14 int is_initial;
15 char *branch;
16 const char *reference;
17 int verbose;
18 int amend;
2074cb0a »
2006-09-12 Teach runstatus about --untracked
19 int untracked;
2a3a3c24 »
2007-01-10 Provide better feedback for the untracked only case in status output
20 /* These are computed during processing of the individual sections */
21 int commitable;
22 int workdir_dirty;
23 int workdir_untracked;
0f729f21 »
2007-09-17 Enable wt-status to run against non-standard index file.
24 const char *index_file;
f26a0012 »
2007-09-17 Enable wt-status output to a given FILE pointer.
25 FILE *fp;
367c9886 »
2007-11-11 git status: show relative paths when run in a subdirectory
26 const char *prefix;
c91f0d92 »
2006-09-08 git-commit.sh: convert run_status to a C builtin
27 };
28
29 int git_status_config(const char *var, const char *value);
30 void wt_status_prepare(struct wt_status *s);
31 void wt_status_print(struct wt_status *s);
32
33 #endif /* STATUS_H */
Something went wrong with that request. Please try again.