diff options
author | Ben Peart <Ben.Peart@microsoft.com> | 2018-05-02 16:01:14 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-08 16:19:41 +0900 |
commit | 85b460305ce7ed399c83499851f46c4f870ce280 (patch) | |
tree | d56e1f9c1c1ab077050a6332365868e39ce5a485 /diff.c | |
parent | merge: update documentation for {merge,diff}.renameLimit (diff) | |
download | tgif-85b460305ce7ed399c83499851f46c4f870ce280.tar.xz |
merge: add merge.renames config setting
Add the ability to control rename detection for merge via a config setting.
This setting behaves the same and defaults to the value of diff.renames but only
applies to merge.
Reviewed-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Helped-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Ben Peart <benpeart@microsoft.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -177,7 +177,7 @@ static int parse_submodule_params(struct diff_options *options, const char *valu return 0; } -static int git_config_rename(const char *var, const char *value) +int git_config_rename(const char *var, const char *value) { if (!value) return DIFF_DETECT_RENAME; |