| Age | Commit message (Collapse) | Author |
|
Adds bindings to the git_apply_to_tree function that allows applying
a diff directly to a tree.
|
|
This change adds explicit `.Free()` calls in `TestApplyDiffAddFile()`.
It was discovered in #657 that some objects were not explicitly being
freed, so this fixes that!
|
|
This PR adds
- The ability to apply a Diff object to the repo
- Support for git_apply_hunk_cb and git_apply_delta_cb callbacks in options for applying the diffs
- The ability to import a diff from a raw buffer (for example, one exported by ToBuf) into a Diff object associated with the repo
- Tests for the above
|
|
This saves about 1s, or 1/3 of the test runtime. The linking is still
much slower, but this we can control.
|
|
This lets you diff two arbitrary blobs with arbitrary names.
|
|
Some test repositories are not correctly removed after the tests
did run. Fix by introducing a function that is to be used for
cleaning up temporary test repositories.
|
|
This commit adds git_diff_get_stats() as well as functions to query the
stats for insertions, deletions, and changed files.
|
|
|
|
|
|
pointers to structures for diff detail. add patch error code handling. trim excess data from diff structures.
|
|
Support use of closures for enumeration.
|
|
|
|
|