]> git.proxmox.com Git - libgit2.git/commit
Clean up diff implementation for review
authorRussell Belfer <arrbee@arrbee.com>
Sat, 4 Feb 2012 00:53:01 +0000 (16:53 -0800)
committerRussell Belfer <arrbee@arrbee.com>
Fri, 2 Mar 2012 23:49:28 +0000 (15:49 -0800)
commit3a4375901a92efdc641c714ec9fd07b53f2f781e
treea0aed2d5e7ee9a6c2af317ae44e1f8bdce0a1446
parent65b09b1deddec64fa5639e9fea10c048d31901fa
Clean up diff implementation for review

This fixes several bugs, updates tests and docs, eliminates the
FILE* assumption in favor of printing callbacks for the diff patch
formatter helpers, and adds a "diff" example function that can
perform a diff from the command line.
examples/Makefile
examples/diff.c [new file with mode: 0644]
include/git2/diff.h
include/git2/tree.h
src/diff.c
tests-clar/diff/blob.c [new file with mode: 0644]
tests-clar/diff/diff_helpers.c
tests-clar/diff/diff_helpers.h
tests-clar/diff/tree.c [new file with mode: 0644]
tests-clay/diff/blob.c [deleted file]
tests/resources/status/.gitted/index