aboutsummaryrefslogtreecommitdiffstats
path: root/add-interactive.h
blob: eefa2edc7c124b05cf35288a22abf0056c6e60f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef ADD_INTERACTIVE_H
#define ADD_INTERACTIVE_H

#include "add-patch.h"

struct pathspec;
struct repository;

struct add_i_state {
	struct repository *r;
	struct interactive_config cfg;
};

void init_add_i_state(struct add_i_state *s, struct repository *r,
		      struct interactive_options *opts);
void clear_add_i_state(struct add_i_state *s);

int run_add_i(struct repository *r, const struct pathspec *ps,
	      struct interactive_options *opts);

#endif