summaryrefslogtreecommitdiff
path: root/tests/diff/blob.c
Commit message (Collapse)AuthorAgeFilesLines
* Add buffer to buffer diff and patch APIsRussell Belfer2014-02-271-150/+90
| | | | | | | | This adds `git_diff_buffers` and `git_patch_from_buffers`. This also includes a bunch of internal refactoring to increase the shared code between these functions and the blob-to-blob and blob-to-buffer APIs, as well as some higher level assert helpers in the tests to also remove redundancy.
* Merge pull request #2066 from libgit2/rb/builtin-diff-driversVicent Marti2014-01-271-4/+4
|\ | | | | Add built in diff drivers
| * Update all tests for new pattern extractionRussell Belfer2014-01-241-4/+4
| |
* | diff: rename the file's 'oid' to 'id'Carlos Martín Nieto2014-01-251-16/+16
|/ | | | In the same vein as the previous commits in this series.
* Drop git_patch_to_strNicolas Hake2014-01-221-25/+26
| | | | | | | It's hard or even impossible to correctly free the string buffer allocated by git_patch_to_str in some circumstances. Drop the function so people have to use git_patch_to_buf instead - git_buf has a dedicated destructor.
* Rename tests-clar to testsBen Straub2013-11-141-0/+1067