summaryrefslogtreecommitdiff
path: root/tests/diff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-05-14 14:00:29 -0400
committerEdward Thomson <ethomson@microsoft.com>2015-05-28 09:44:02 -0400
commit7c948014006e86beaced3e77b61cb0a8ddb0958c (patch)
treef7dc1c8dd846d9ecac6c2f5ff4e5c086f918a670 /tests/diff
parentd67f270e58942fed5871eca6802d3fa4f290e4f1 (diff)
downloadlibgit2-7c948014006e86beaced3e77b61cb0a8ddb0958c.tar.gz
diff/status: introduce conflicts
When diffing against an index, return a new `GIT_DELTA_CONFLICTED` delta type for items that are conflicted. For a single file path, only one delta will be produced (despite the fact that there are multiple entries in the index). Index iterators now have the (optional) ability to return conflicts in the index. Prior to this change, they would be omitted, and callers (like diff) would omit conflicted index entries entirely.
Diffstat (limited to 'tests/diff')
0 files changed, 0 insertions, 0 deletions