| Top |
| GgitMergeOptions * | ggit_merge_options_copy () |
| void | ggit_merge_options_free () |
| GgitMergeOptions * | ggit_merge_options_new () |
| void | ggit_merge_options_set_rename_threshold () |
| guint | ggit_merge_options_get_rename_threshold () |
| void | ggit_merge_options_set_target_limit () |
| guint | ggit_merge_options_get_target_limit () |
| void | ggit_merge_options_set_similarity_metric () |
| GgitDiffSimilarityMetric * | ggit_merge_options_get_similarity_metric () |
| void | ggit_merge_options_set_file_favor () |
| GgitMergeFileFavor | ggit_merge_options_get_file_favor () |
| void | ggit_merge_options_set_file_flags () |
| GgitMergeFileFlags | ggit_merge_options_get_file_flags () |
GgitMergeOptions *
ggit_merge_options_copy (GgitMergeOptions *merge_options);
Copies merge_options
into a newly allocated GgitMergeOptions.
void
ggit_merge_options_free (GgitMergeOptions *merge_options);
Frees merge_options
.
GgitMergeOptions *
ggit_merge_options_new (void);
Creates a new GgitMergeOptions.
void ggit_merge_options_set_rename_threshold (GgitMergeOptions *merge_options,guint 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.
guint
ggit_merge_options_get_rename_threshold
(GgitMergeOptions *merge_options);
Get 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.
void ggit_merge_options_set_target_limit (GgitMergeOptions *merge_options,guint target_limit);
Set the maximum number of similarity sources to examine for renames (defaults to 200). If the number of rename candidates (add / delete pairs) is greater than this value, inexact rename detection is aborted.
guint
ggit_merge_options_get_target_limit (GgitMergeOptions *merge_options);
Get the maximum number of similarity sources to examine for renames (defaults to 200). If the number of rename candidates (add / delete pairs) is greater than this value, inexact rename detection is aborted.
void ggit_merge_options_set_similarity_metric (GgitMergeOptions *merge_options,GgitDiffSimilarityMetric *metric);
Set the similarity metric, or NULL for the default similarity metric.
GgitDiffSimilarityMetric *
ggit_merge_options_get_similarity_metric
(GgitMergeOptions *merge_options);
Get the similarity metric.
void ggit_merge_options_set_file_favor (GgitMergeOptions *merge_options,GgitMergeFileFavor file_favor);
Set flags for handling conflicting content.
GgitMergeFileFavor
ggit_merge_options_get_file_favor (GgitMergeOptions *merge_options);
Get flags for handling conflicting content.
void ggit_merge_options_set_file_flags (GgitMergeOptions *merge_options,GgitMergeFileFlags file_flags);
Set file merging flags.