projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd1870e
)
[PATCH] Add the code to set default minimum score back in.
author
Junio C Hamano
<junkio@cox.net>
Sun, 22 May 2005 06:33:32 +0000
(23:33 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Sun, 22 May 2005 16:46:06 +0000
(09:46 -0700)
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>
diffcore-rename.c
patch
|
blob
|
history
diff --git
a/diffcore-rename.c
b/diffcore-rename.c
index ff5c182df852651ce966d3f8f4cd6dbdcf458a62..8de80dfe73ef01f9529b0a9d2fb234b6cb9849ba 100644
(file)
--- 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;