summaryrefslogtreecommitdiff
path: root/tests-clar/diff/diff_helpers.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-05-03 17:25:01 +0200
committernulltoken <emeric.fermas@gmail.com>2012-05-07 12:18:32 +0200
commit28ef7f9b28a8b58946e553090f8967d7c51ebc78 (patch)
tree70916d5d3d5b2b55a4aafeb106ab32ce77ea7aaa /tests-clar/diff/diff_helpers.c
parentcfe25b13fa04e12ed7a4f60fc5f323b990db20cd (diff)
downloadlibgit2-28ef7f9b28a8b58946e553090f8967d7c51ebc78.tar.gz
diff: make git_diff_blobs() able to detect binary blobs
Diffstat (limited to 'tests-clar/diff/diff_helpers.c')
-rw-r--r--tests-clar/diff/diff_helpers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests-clar/diff/diff_helpers.c b/tests-clar/diff/diff_helpers.c
index 74a44ab9..b12d8886 100644
--- a/tests-clar/diff/diff_helpers.c
+++ b/tests-clar/diff/diff_helpers.c
@@ -30,6 +30,8 @@ int diff_file_fn(
GIT_UNUSED(progress);
+ e-> at_least_one_of_them_is_binary = delta->binary;
+
e->files++;
switch (delta->status) {
case GIT_DELTA_ADDED: e->file_adds++; break;