Skip to content

More diff functionality (#629) #636

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 18, 2020

Conversation

github-actions[bot]
Copy link

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 7883ec8)

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 7883ec8)
@lhchavez lhchavez merged commit 4d69027 into release-0.27 Aug 18, 2020
@lhchavez lhchavez deleted the cherry-pick-213657673-release-0.27 branch August 18, 2020 13:21
lhchavez added a commit to lhchavez/git2go that referenced this pull request Aug 18, 2020
This reverts commit 4d69027.

v0.27 does not support this API.
lhchavez added a commit that referenced this pull request Aug 18, 2020
This reverts commit 4d69027.

v0.27 does not support this API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants