repo.or.cz
/
git
/
jrn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Improve "nothing to commit" part of status output
[git/jrn.git]
/
wt-status.h
blob
892a86c76abe69ce69327a10a5d491cc47f8e82b
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
commitable
;
16
int
verbose
;
17
int
amend
;
18
int
untracked
;
19
int
workdir_clean
;
20
};
21
22
int
git_status_config
(
const char
*
var
,
const char
*
value
);
23
void
wt_status_prepare
(
struct
wt_status
*
s
);
24
void
wt_status_print
(
struct
wt_status
*
s
);
25
26
#endif
/* STATUS_H */