Skip to content

Commit 943d5b7

Browse files
author
Junio C Hamano
committed
allow diff.renamelimit to be set regardless of -M/-C
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 03b9d56 commit 943d5b7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

diff.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,9 +1518,6 @@ int diff_setup_done(struct diff_options *options)
15181518
if (options->find_copies_harder)
15191519
options->detect_rename = DIFF_DETECT_COPY;
15201520

1521-
if ((0 <= options->rename_limit && !options->detect_rename)
1522-
return -1;
1523-
15241521
if (options->output_format & (DIFF_FORMAT_NAME |
15251522
DIFF_FORMAT_NAME_STATUS |
15261523
DIFF_FORMAT_CHECKDIFF |

0 commit comments

Comments
 (0)