Name |
Last commit
|
Last update |
---|---|---|
.. | ||
blob.c | ||
diff_helpers.c | ||
diff_helpers.h | ||
diffiter.c | ||
index.c | ||
iterator.c | ||
patch.c | ||
rename.c | ||
tree.c | ||
workdir.c |
This implements the basis for diff rename and copy detection, although it is based on simple SHA comparison right now instead of using a matching algortihm. Just as `git_diff_merge` can be used as a post-pass on diffs to emulate certain command line behaviors, there is a new API `git_diff_detect` which will update a diff list in-place, adjusting some deltas to RENAMED or COPIED state (and also, eventually, splitting MODIFIED deltas where the change is too large into DELETED/ADDED pairs). This also adds a new test repo that will hold rename/copy/split scenarios. Right now, it just has exact-match rename and copy, but the tests are written to use tree diffs, so we should be able to add new test scenarios easily without breaking tests.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
blob.c | Loading commit data... | |
diff_helpers.c | Loading commit data... | |
diff_helpers.h | Loading commit data... | |
diffiter.c | Loading commit data... | |
index.c | Loading commit data... | |
iterator.c | Loading commit data... | |
patch.c | Loading commit data... | |
rename.c | Loading commit data... | |
tree.c | Loading commit data... | |
workdir.c | Loading commit data... |