summaryrefslogtreecommitdiff
path: root/tests/submodule/submodule_helpers.h
blob: ec5510e3cd7fe44c1b63d07432dbcde56da35d84 (plain)
1
2
3
4
5
6
7
8
9
10
extern void rewrite_gitmodules(const char *workdir);

/* these will automatically set a cleanup callback */
extern git_repository *setup_fixture_submodules(void);
extern git_repository *setup_fixture_submod2(void);

extern unsigned int get_submodule_status(git_repository *, const char *);

extern void assert_submodule_exists(git_repository *, const char *);
extern void refute_submodule_exists(git_repository *, const char *, int err);