Treshold below which similar files will be split into a delete/add pair. This is equivalent to the last part of the -B option. Defaults to 60.
Threshold above which similar files will be considered copies. This is equivalent to the -C option. Defaults to 50.
Combination of git_diff_find_t values (default git_diff_find_t.GIT_DIFF_FIND_BY_CONFIG). NOTE: if you don't explicitly set this, diff.renames could be set to false, resulting in git_diff_find_similar doing nothing.
The metric option allows you to plug in a custom similarity metric.
Threshold below which similar files will be eligible to be a rename source. This is equivalent to the first part of the -B option. Defaults to 50.
Maximum number of matches to consider for a particular file.
Threshold above which similar files will be considered renames. This is equivalent to the -M option. Defaults to 50.
Control behavior of rename and copy detection
These options mostly mimic parameters that can be passed to git-diff.