summaryrefslogtreecommitdiff
path: root/tests/apply/tree.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.