summaryrefslogtreecommitdiff
path: root/tests/apply/partial.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: apply: fix reference to deprecated `git_buf_free`Patrick Steinhardt2018-11-131-2/+2
| | | | | | | | | Since commit 56ffdfc61 (buffer: deprecate `git_buf_free` in favor of `git_buf_dispose`, 2018-02-08), the function `git_buf_free` is deprecated and shall not be used anymore. As part of the new apply framework that has been cooking for quite some time some new references have been introduced to that deprecated function. Replace them with calls to `git_buf_dispose`.
* patch: add tests for aborting hunk callbackJason Haslam2018-11-051-0/+71
|
* patch: add support for partial patch applicationJason Haslam2018-11-051-0/+161
Add hunk callback parameter to git_apply__patch to allow hunks to be skipped.