summaryrefslogtreecommitdiff
path: root/tests-clar/diff/diff_helpers.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-10-08 15:18:30 -0700
committerRussell Belfer <rb@github.com>2012-10-08 15:22:40 -0700
commit71966e2f1bdfb75b7e57942d572ea089ce32e463 (patch)
tree1b6b8a874dd0c4f1fff2f2d84dae0b27b719c7c2 /tests-clar/diff/diff_helpers.h
parentdfbff793b8f39995d3a8744d6b7d75d5cc7201a0 (diff)
downloadlibgit2-71966e2f1bdfb75b7e57942d572ea089ce32e463.tar.gz
Extend diff helpers for tests a little
Diffstat (limited to 'tests-clar/diff/diff_helpers.h')
-rw-r--r--tests-clar/diff/diff_helpers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests-clar/diff/diff_helpers.h b/tests-clar/diff/diff_helpers.h
index 7984294a2..629130934 100644
--- a/tests-clar/diff/diff_helpers.h
+++ b/tests-clar/diff/diff_helpers.h
@@ -6,6 +6,8 @@ extern git_tree *resolve_commit_oid_to_tree(
typedef struct {
int files;
+ int files_binary;
+
int file_adds;
int file_dels;
int file_mods;
@@ -51,3 +53,5 @@ extern int diff_foreach_via_iterator(
git_diff_file_fn file_cb,
git_diff_hunk_fn hunk_cb,
git_diff_data_fn line_cb);
+
+extern void diff_print(FILE *fp, git_diff_list *diff);