- 28 Aug, 2019 1 commit
-
-
Introduce an unit test to validate that git_apply__patch() properly handles EOFNL changes in case of patches with several hunks.
Max Kostyukevich committed
-
- 21 Feb, 2019 1 commit
-
-
Previously, we would fail to correctly truncate the source buffer if the source has more than one line and ends with a non-newline character. In the following call, we thus truncate the source string in the middle of the second line. Without the bug fixed, we would successfully apply the patch to the source and return success. With the overflow being fixed, we should return an error now.
Patrick Steinhardt committed
-
- 05 Nov, 2018 2 commits
-
-
Add hunk callback parameter to git_apply__patch to allow hunks to be skipped.
Jason Haslam committed -
Introduce a callback to patch application that allows consumers to cancel hunk application.
Edward Thomson committed
-
- 10 Jun, 2018 1 commit
-
-
Patrick Steinhardt committed
-
- 26 May, 2016 4 commits
-
-
Edward Thomson committed
-
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.
Edward Thomson committed -
When a patch is empty, simply copy the source into the destination.
Edward Thomson committed -
The beginnings of patch application from an existing (diff-created) git_patch object: applies the hunks of a git_patch to a buffer.
Edward Thomson committed
-