summaryrefslogtreecommitdiff
path: root/tests/blame/blame_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/blame/blame_helpers.h')
-rw-r--r--tests/blame/blame_helpers.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/blame/blame_helpers.h b/tests/blame/blame_helpers.h
new file mode 100644
index 000000000..94321a5b5
--- /dev/null
+++ b/tests/blame/blame_helpers.h
@@ -0,0 +1,16 @@
+#include "clar_libgit2.h"
+#include "blame.h"
+
+void hunk_message(size_t idx, const git_blame_hunk *hunk, const char *fmt, ...);
+
+void check_blame_hunk_index(
+ git_repository *repo,
+ git_blame *blame,
+ int idx,
+ int start_line,
+ int len,
+ char boundary,
+ const char *commit_id,
+ const char *orig_path);
+
+