summaryrefslogtreecommitdiff
path: root/tests/repo/repo_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/repo/repo_helpers.h')
-rw-r--r--tests/repo/repo_helpers.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/repo/repo_helpers.h b/tests/repo/repo_helpers.h
new file mode 100644
index 000000000..6783d5701
--- /dev/null
+++ b/tests/repo/repo_helpers.h
@@ -0,0 +1,6 @@
+#include "common.h"
+
+#define NON_EXISTING_HEAD "refs/heads/hide/and/seek"
+
+extern void make_head_unborn(git_repository* repo, const char *target);
+extern void delete_head(git_repository* repo);