summaryrefslogtreecommitdiff
path: root/tests/libgit2/reset/reset_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libgit2/reset/reset_helpers.h')
-rw-r--r--tests/libgit2/reset/reset_helpers.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/libgit2/reset/reset_helpers.h b/tests/libgit2/reset/reset_helpers.h
new file mode 100644
index 000000000..e7e048514
--- /dev/null
+++ b/tests/libgit2/reset/reset_helpers.h
@@ -0,0 +1,7 @@
+#include "common.h"
+
+#define KNOWN_COMMIT_IN_BARE_REPO "e90810b8df3e80c413d903f631643c716887138d"
+#define KNOWN_COMMIT_IN_ATTR_REPO "217878ab49e1314388ea2e32dc6fdb58a1b969e0"
+
+void reflog_check(git_repository *repo, const char *refname,
+ size_t exp_count, const char *exp_email, const char *exp_msg);