summaryrefslogtreecommitdiff
path: root/tests/diff/diff_helpers.c
Commit message (Collapse)AuthorAgeFilesLines
* git_error: use new names in internal APIs and usageEdward Thomson2019-01-221-1/+1
| | | | | Move to the `git_error` name in the internal API for error-related functions.
* object_type: use new enumeration namesethomson/index_fixesEdward Thomson2018-12-011-2/+2
| | | | Use the new object_type enumeration names within the codebase.
* patch: show copy information for identical copiesEdward Thomson2016-06-251-10/+47
| | | | | | | When showing copy information because we are duplicating contents, for example, when performing a `diff --find-copies-harder -M100 -B100`, then show copy from/to lines in a patch, and do not show context. Ensure that we can also parse such patches.
* diff::parse tests: test parsing a diffEdward Thomson2016-06-251-0/+36
| | | | | Test that we can create a diff file, then parse the results and that the two are identical in-memory.
* Fixed Xcode 6.1 build warningsPierre-Olivier Latour2015-06-151-0/+2
|
* diff: introduce binary diff callbacksEdward Thomson2015-06-121-0/+13
| | | | | | | 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
|
* Plug leaksCarlos Martín Nieto2014-11-231-6/+3
| | | | Valgrind is now clean except for libssl and libgcrypt.
* Add public diff print helpersRussell Belfer2014-04-171-22/+7
| | | | | | | The usefulness of these helpers came up for me while debugging some of the iterator changes that I was making, so since they have also been requested (albeit indirectly) I thought I'd include them.
* Rename tests-clar to testsBen Straub2013-11-141-0/+246