]> git.proxmox.com Git - libgit2.git/commit
diff: treat binary patches with no data special
authorEdward Thomson <ethomson@github.com>
Fri, 2 Sep 2016 07:03:45 +0000 (02:03 -0500)
committerEdward Thomson <ethomson@github.com>
Mon, 5 Sep 2016 17:26:47 +0000 (12:26 -0500)
commitadedac5aba9e4525475fd59d751cd02c6f2b3a4f
tree19fac5d44e30c3602909b9d971b26658545f2b7b
parentf4e3dae75ff7246952f6707ad2a2fdea758e03ea
diff: treat binary patches with no data special

When creating and printing diffs, deal with binary deltas that have
binary data specially, versus diffs that have a binary file but lack the
actual binary data.
include/git2/diff.h
src/apply.c
src/diff_print.c
src/patch_generate.c
src/patch_parse.c
tests/patch/patch_common.h
tests/patch/print.c