allow diff.renamelimit to be set regardless of -M/-C
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Aug 9, 2006 at 14:05 UTC
943d5b73e2adf3cd0d3f72c9a06c75681a4ea3ca
1 file changed
-3
diff.c
-3
@@ -1518,9 +1518,6 @@ int diff_setup_done(struct diff_options *options)
1518
if (options->find_copies_harder)
1519
options->detect_rename = DIFF_DETECT_COPY;
1520
1521
- if ((0 <= options->rename_limit && !options->detect_rename)
1522
- return -1;
1523
-
1521
if (options->output_format & (DIFF_FORMAT_NAME |
1522
DIFF_FORMAT_NAME_STATUS |
1523
DIFF_FORMAT_CHECKDIFF |