]> git.proxmox.com Git - libgit2.git/commit - tests/diff/workdir.c
diff: introduce binary diff callbacks
authorEdward Thomson <ethomson@edwardthomson.com>
Tue, 26 May 2015 00:03:59 +0000 (20:03 -0400)
committerEdward Thomson <ethomson@microsoft.com>
Fri, 12 Jun 2015 13:39:20 +0000 (09:39 -0400)
commit8147b1aff56c0f36f6afee9b8810fc74776e1f58
tree298396fb80a973b990e21084e29b0466ceafe5ed
parentac7012a81f0bdc472a3d22393291eb7d130705d1
diff: introduce binary diff callbacks

Introduce a new binary diff callback to provide the actual binary
delta contents to callers.  Create this data from the diff contents
(instead of directly from the ODB) to support binary diffs including
the workdir, not just things coming out of the ODB.
18 files changed:
include/git2/diff.h
src/blame.c
src/diff_file.c
src/diff_file.h
src/diff_patch.c
src/diff_patch.h
src/diff_print.c
src/index.c
tests/diff/blob.c
tests/diff/diff_helpers.c
tests/diff/diff_helpers.h
tests/diff/index.c
tests/diff/notify.c
tests/diff/rename.c
tests/diff/submodules.c
tests/diff/tree.c
tests/diff/workdir.c
tests/stress/diff.c