Name |
Last commit
|
Last update |
---|---|---|
.. | ||
discover.c | ||
getters.c | ||
hashfile.c | ||
head.c | ||
init.c | ||
message.c | ||
open.c | ||
repo_helpers.c | ||
repo_helpers.h | ||
setters.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 |
---|---|---|
.. | ||
discover.c | Loading commit data... | |
getters.c | Loading commit data... | |
hashfile.c | Loading commit data... | |
head.c | Loading commit data... | |
init.c | Loading commit data... | |
message.c | Loading commit data... | |
open.c | Loading commit data... | |
repo_helpers.c | Loading commit data... | |
repo_helpers.h | Loading commit data... | |
setters.c | Loading commit data... |