summaryrefslogtreecommitdiff
path: root/tests/apply/fromdiff.c
Commit message (Collapse)AuthorAgeFilesLines
* apply: move patch data to patch_common.hEdward Thomson2016-05-261-1/+1
|
* patch application: apply binary patchesEdward Thomson2016-05-261-11/+116
| | | | | | Handle the application of binary patches. Include tests that produce a binary patch (an in-memory `git_patch` object), then enusre that the patch applies correctly.
* apply: handle empty patchesEdward Thomson2016-05-261-0/+8
| | | | When a patch is empty, simply copy the source into the destination.
* Introduce git_apply_patchEdward Thomson2016-05-261-0/+176
The beginnings of patch application from an existing (diff-created) git_patch object: applies the hunks of a git_patch to a buffer.