summaryrefslogtreecommitdiff
path: root/tests/patch
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-09-02 11:26:16 -0500
committerEdward Thomson <ethomson@github.com>2016-09-02 11:26:16 -0500
commitf4e3dae75ff7246952f6707ad2a2fdea758e03ea (patch)
treebdb0c8ee7ee3b21d87ed64a79e7e72bc2add21a6 /tests/patch
parent4bfd7c63fcd920af8366e521b7e985ded7cb3e84 (diff)
downloadlibgit2-f4e3dae75ff7246952f6707ad2a2fdea758e03ea.tar.gz
diff_print: change test for skipping binary printing
Instead of skipping printing a binary diff when there is no data, skip printing when we have a status of `UNMODIFIED`. This is more in-line with our internal data model and allows us to expand the notion of binary data. In the future, there may have no data because the files were unmodified (there was no data to produce) or it may have no data because there was no data given to us in a patch. We want to treat these cases separately.
Diffstat (limited to 'tests/patch')
0 files changed, 0 insertions, 0 deletions