set_rename_threshold


Description:

public void set_rename_threshold (uint rename_threshold)

Set the rename threshold (defaults to 50).

If ggit_merge_tree_find_renames is enabled, added files will be compared with deleted files to determine their similarity. Files that are more similar than the rename threshold (percentage-wise) will be treated as a rename.

Parameters:

this

a MergeOptions.

rename_threshold

similarity to consider a file renamed.




2022 vala-language.org