[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 <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
cd1870edb6
commit
26dee0adfc
@ -235,6 +235,8 @@ void diff_detect_rename(int detect_rename,
|
|||||||
int h, i, j;
|
int h, i, j;
|
||||||
int num_create, num_src, dst_cnt, src_cnt;
|
int num_create, num_src, dst_cnt, src_cnt;
|
||||||
|
|
||||||
|
if (!minimum_score)
|
||||||
|
minimum_score = DEFAULT_MINIMUM_SCORE;
|
||||||
outq.queue = NULL;
|
outq.queue = NULL;
|
||||||
outq.nr = outq.alloc = 0;
|
outq.nr = outq.alloc = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user