summaryrefslogtreecommitdiff
path: root/tests/submodule/submodule_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/submodule/submodule_helpers.h')
-rw-r--r--tests/submodule/submodule_helpers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/submodule/submodule_helpers.h b/tests/submodule/submodule_helpers.h
index 610c40720..ec5510e3c 100644
--- a/tests/submodule/submodule_helpers.h
+++ b/tests/submodule/submodule_helpers.h
@@ -3,3 +3,8 @@ 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);