Fix whitespace after 'return' and add a newline after the if block to separate the strcasecmp logic from the rest. Signed-off-by: Sam James <sam@xxxxxxxxxx> --- diff.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/diff.c b/diff.c index a6433dec30..9a7425cae4 100644 --- a/diff.c +++ b/diff.c @@ -207,7 +207,8 @@ int git_config_rename(const char *var, const char *value) if (!strcasecmp(value, "copies-harder")) return DIFF_DETECT_COPY_HARDER; if (!strcasecmp(value, "copies") || !strcasecmp(value, "copy")) - return DIFF_DETECT_COPY; + return DIFF_DETECT_COPY; + return git_config_bool(var,value) ? DIFF_DETECT_RENAME : 0; } -- 2.44.0