Documentation/git.txt: link to 1.5.5.2 documentation.
[git/spearce.git] / wt-status.h
blob597c7ea988634409f920c86008f5ba70910722f9
1 #ifndef STATUS_H
2 #define STATUS_H
4 #include <stdio.h>
6 enum color_wt_status {
7 WT_STATUS_HEADER,
8 WT_STATUS_UPDATED,
9 WT_STATUS_CHANGED,
10 WT_STATUS_UNTRACKED,
11 WT_STATUS_NOBRANCH,
14 struct wt_status {
15 int is_initial;
16 char *branch;
17 const char *reference;
18 int verbose;
19 int amend;
20 int untracked;
21 int nowarn;
22 /* These are computed during processing of the individual sections */
23 int commitable;
24 int workdir_dirty;
25 int workdir_untracked;
26 const char *index_file;
27 FILE *fp;
28 const char *prefix;
31 int git_status_config(const char *var, const char *value, void *cb);
32 extern int wt_status_use_color;
33 extern int wt_status_relative_paths;
34 void wt_status_prepare(struct wt_status *s);
35 void wt_status_print(struct wt_status *s);
37 #endif /* STATUS_H */