Raw
1 #ifndef ADD_INTERACTIVE_H
2 #define ADD_INTERACTIVE_H
3
4 #include "add-patch.h"
5
6 struct pathspec;
7 struct repository;
8
9 struct add_i_state {
10 struct repository *r;
11 struct interactive_config cfg;
12 };
13
14 void init_add_i_state(struct add_i_state *s, struct repository *r,
15 struct interactive_options *opts);
16 void clear_add_i_state(struct add_i_state *s);
17
18 int run_add_i(struct repository *r, const struct pathspec *ps,
19 struct interactive_options *opts);
20
21 #endif