summaryrefslogtreecommitdiff
path: root/tests/apply/tree.c
Commit message (Collapse)AuthorAgeFilesLines
* apply: free test dataEdward Thomson2019-08-271-1/+1
|
* apply: Test for git_apply_to_tree failures when new files are addedMax Kostyukevich2019-08-211-0/+36
| | | | | Introduce an unit test to validate if git_apply_to_tree() fails when an applied patch adds new files.
* apply: move location to an argument, not the optsEdward Thomson2018-11-051-1/+1
| | | | | | | | Move the location option to an argument, out of the options structure. This allows the options structure to be re-used for functions that don't need to know the location, since it's implicit in their functionality. For example, `git_apply_tree` should not take a location, but is expected to take all the other options.
* apply: introduce `git_apply_tree`Edward Thomson2018-11-031-0/+58
Introduce `git_apply_tree`, which will apply a `git_diff` to a given `git_tree`, allowing an in-memory patch application for a repository.