Commits

Anonymous committed 943d5b7

allow diff.renamelimit to be set regardless of -M/-C

Signed-off-by: Junio C Hamano <junkio@cox.net>

Comments (0)

Files changed (1)

 	if (options->find_copies_harder)
 		options->detect_rename = DIFF_DETECT_COPY;
 
-	if ((0 <= options->rename_limit && !options->detect_rename)
-		return -1;
-
 	if (options->output_format & (DIFF_FORMAT_NAME |
 				      DIFF_FORMAT_NAME_STATUS |
 				      DIFF_FORMAT_CHECKDIFF |