]>
Commit | Line | Data |
---|---|---|
f83dff60 JS |
1 | #ifndef ADD_INTERACTIVE_H |
2 | #define ADD_INTERACTIVE_H | |
3 | ||
25ea47af JS |
4 | #include "color.h" |
5 | ||
6 | struct add_i_state { | |
7 | struct repository *r; | |
8 | int use_color; | |
9 | char header_color[COLOR_MAXLEN]; | |
10 | char help_color[COLOR_MAXLEN]; | |
11 | char prompt_color[COLOR_MAXLEN]; | |
12 | char error_color[COLOR_MAXLEN]; | |
13 | char reset_color[COLOR_MAXLEN]; | |
14 | char fraginfo_color[COLOR_MAXLEN]; | |
bcdd297b JS |
15 | char context_color[COLOR_MAXLEN]; |
16 | char file_old_color[COLOR_MAXLEN]; | |
17 | char file_new_color[COLOR_MAXLEN]; | |
25ea47af JS |
18 | }; |
19 | ||
20 | void init_add_i_state(struct add_i_state *s, struct repository *r); | |
21 | ||
f83dff60 JS |
22 | struct repository; |
23 | struct pathspec; | |
24 | int run_add_i(struct repository *r, const struct pathspec *ps); | |
f6aa7ecc | 25 | int run_add_p(struct repository *r, const struct pathspec *ps); |
f83dff60 JS |
26 | |
27 | #endif |