summaryrefslogtreecommitdiff
path: root/tests/diff/binary.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-06-24 12:06:41 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2015-06-24 12:06:41 -0400
commit54077091c8cc12d83ad10b3252462c591c960de8 (patch)
treebffe1a4ca0ab10d6fd782158553ba7071c8b3ac1 /tests/diff/binary.c
parentba8fb7c46ac66e941f9452c9743c13fc2daaa85b (diff)
downloadlibgit2-54077091c8cc12d83ad10b3252462c591c960de8.tar.gz
diff: determine DIFFABLE-ness for binaries
Always set `GIT_DIFF_PATCH_DIFFABLE` for all files, regardless of binary-ness, so that the binary callback is invoked to either show the binary contents, or just print the standard "Binary files differ" message. We may need to do deeper inspection for binary files where we have avoided loading the contents into a file map.
Diffstat (limited to 'tests/diff/binary.c')
0 files changed, 0 insertions, 0 deletions