More diff functionality (#629) #636

Merged
github-actions[bot] merged 1 commits from cherry-pick-213657673-release-0.27 into release-0.27 2020-08-18 08:21:20 -05:00

1 Commits

Author SHA1 Message Date
michael boulton 7f1b273b2c More diff functionality (#629)
This PR adds

- The ability to apply a Diff object to the repo
- Support for git_apply_hunk_cb and git_apply_delta_cb callbacks in options for applying the diffs
- The ability to import a diff from a raw buffer (for example, one exported by ToBuf) into a Diff object associated with the repo
- Tests for the above

(cherry picked from commit 7883ec85de)
2020-08-18 13:14:21 +00:00