summaryrefslogtreecommitdiff
path: root/tests/diff/diff_helpers.h
Commit message (Collapse)AuthorAgeFilesLines
* fileops: rename to "futils.h" to match function signaturesPatrick Steinhardt2019-07-201-1/+1
| | | | | | | | | Our file utils functions all have a "futils" prefix, e.g. `git_futils_touch`. One would thus naturally guess that their definitions and implementation would live in files "futils.h" and "futils.c", respectively, but in fact they live in "fileops.h". Rename the files to match expectations.
* diff::parse tests: test parsing a diffEdward Thomson2016-06-251-0/+3
| | | | | Test that we can create a diff file, then parse the results and that the two are identical in-memory.
* diff: introduce binary diff callbacksEdward Thomson2015-06-121-0/+6
| | | | | | | 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.
* diff conflicts: add tests for tree to indexEdward Thomson2015-05-281-1/+1
|
* Rename tests-clar to testsBen Straub2013-11-141-0/+64