libgit2/tests-clar/diff
Russell Belfer a21cbb12db Significant rename detection rewrite
This flips rename detection around so instead of creating a
forward mapping from deltas to possible rename targets, instead
it creates a reverse mapping, looking at possible targets and
trying to find a source that they could have been renamed or
copied from.  This is important because each output can only
have a single source, but a given source could map to multiple
outputs (in the form of COPIED records).

Additionally, this makes a couple of tweaks to the public rename
detection APIs, mostly renaming a couple of options that control
the behavior to make more sense and to be more like core Git.

I walked through the tests looking at the exact results and
updated the expectations based on what I saw.  The new code is
different from the old because it cannot give some nonsense
results (like A was renamed to both B and C) which were part of
the outputs previously.
2013-05-22 10:37:12 -07:00
..
blob.c Initial integration of similarity metric to diff 2013-02-21 12:40:33 -08:00
diff_helpers.c Add GIT_DIFF_LINE_CONTEXT_EOFNL 2013-05-07 04:32:17 -07:00
diff_helpers.h More tests for diff untracked directories 2013-04-30 04:25:56 -07:00
diffiter.c Replace diff delta binary with flags 2013-02-20 15:10:21 -08:00
index.c Fix some leaks and (possibly) dangling pointers in tests 2012-12-19 08:04:31 +01:00
iterator.c Three submodule status bug fixes 2013-03-18 17:24:13 -07:00
notify.c Notify '*' pathspec correctly when diffing 2013-04-11 09:59:26 +02:00
patch.c Fix line numbering for patches with eofnl 2013-05-07 07:15:39 -07:00
rename.c Significant rename detection rewrite 2013-05-22 10:37:12 -07:00
submodules.c Tests and more fixes for submodule diffs 2013-04-09 14:52:32 -07:00
tree.c Improve diff config options handling 2013-04-23 12:57:30 -07:00
workdir.c Fix diff crash when last item is untracked dir 2013-05-15 14:50:05 -07:00