summaryrefslogtreecommitdiff
path: root/examples/diff.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-10-25 11:48:39 -0700
committerRussell Belfer <rb@github.com>2012-10-25 11:48:39 -0700
commitcb7180a6e2bb7e5912c16d2109f273c75731a607 (patch)
tree24ab45a03ba348cce9ba237856b462d6e1b09dec /examples/diff.c
parent3943dc78a5c67c1db367c4e13a79884ef72f7f3b (diff)
downloadlibgit2-cb7180a6e2bb7e5912c16d2109f273c75731a607.tar.gz
Add git_diff_patch_print
This adds a `git_diff_patch_print()` API which is more like the existing API to "print" a patch from an entire `git_diff_list` but operates on a single `git_diff_patch` object. Also, it rewrites the `git_diff_patch_to_str()` API to use that function (making it very small).
Diffstat (limited to 'examples/diff.c')
0 files changed, 0 insertions, 0 deletions