Apply a git_diff to the given repository, making changes directly
in the working directory, the index, or both.
@param repo the repository to apply to
@param diff the diff to apply
@param location the location to apply (workdir, index or both)
@param options the options for the apply (or null for defaults)
Apply a git_diff to the given repository, making changes directly in the working directory, the index, or both.
@param repo the repository to apply to @param diff the diff to apply @param location the location to apply (workdir, index or both) @param options the options for the apply (or null for defaults)