git_diff_find_similar

Transform a diff marking file renames, copies, etc.

This modifies a diff in place, replacing old entries that look like renames or copies with new entries reflecting those changes. This also will, if requested, break modified files into add/remove pairs if the amount of change is above a threshold.

extern (C) nothrow @nogc
int
git_diff_find_similar

Parameters

diff .git_diff*

diff to run detection algorithms on

options const(.git_diff_find_options)*

Control how detection should be run, null for defaults

Return Value

Type: int

0 on success, -1 on failure

Meta