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
github-actions[bot] commented 2020-08-18 08:14:26 -05:00 (Migrated from github.com)

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)

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 7883ec85de56ee55667481228282fd690fce6246)
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jcarr/git2go#636
No description provided.