summaryrefslogtreecommitdiff
path: root/tests/diff/blob.c
Commit message (Collapse)AuthorAgeFilesLines
* diff: introduce binary diff callbacksEdward Thomson2015-06-121-28/+28
| | | | | | | Introduce a new binary diff callback to provide the actual binary delta contents to callers. Create this data from the diff contents (instead of directly from the ODB) to support binary diffs including the workdir, not just things coming out of the ODB.
* Introduce cl_assert_equal_oidEdward Thomson2014-07-011-6/+6
|
* Get rid of redundant git_diff_options_init fnRussell Belfer2014-05-021-1/+1
| | | | Since git_diff_init_options was introduced, remove this old fn.
* 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