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
new file mode 100644
index 000000000..610c40720
--- /dev/null
+++ b/tests/submodule/submodule_helpers.h
@@ -0,0 +1,5 @@
+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);