From: Junio C Hamano Date: Sun, 22 May 2005 06:33:32 +0000 (-0700) Subject: [PATCH] Add the code to set default minimum score back in. X-Git-Tag: v0.99~505 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=26dee0adfcfa6fc15a522d32765eabbe4f295237;p=git.git [PATCH] Add the code to set default minimum score back in. When the minimum score is specified as 0 (meaning "use default value"), set it to the default as we are told. Signed-off-by: Junio C Hamano Signed-off-by: Linus Torvalds --- diff --git a/diffcore-rename.c b/diffcore-rename.c index ff5c182df..8de80dfe7 100644 --- a/diffcore-rename.c +++ b/diffcore-rename.c @@ -235,6 +235,8 @@ void diff_detect_rename(int detect_rename, int h, i, j; int num_create, num_src, dst_cnt, src_cnt; + if (!minimum_score) + minimum_score = DEFAULT_MINIMUM_SCORE; outq.queue = NULL; outq.nr = outq.alloc = 0;