author | Junio C Hamano <junkio@cox.net> | |
Mon, 21 Nov 2005 20:18:23 +0000 (12:18 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 21 Nov 2005 20:21:24 +0000 (12:21 -0800) | ||
commit | 9f70b806920e3ea158d7e189a1ec668445c13359 | |
tree | 0de8fc57e0e221f5588f895eb161faee5acc9e7d | tree | snapshot |
parent | 88b5a74883f146eac4b15b30e74bbdeb5ab5a63a | commit | diff |
rename detection with -M100 means "exact renames only".
When the user is interested in pure renames, there is no point
doing the similarity scores. This changes the score argument
parsing to special case -M100 (otherwise, it is a precision
scaled value 0 <= v < 1 and would mean 0.1, not 1.0 --- if you
do mean 0.1, you can say -M1), and optimizes the diffcore_rename
transformation to only look at pure renames in that case.
Signed-off-by: Junio C Hamano <junkio@cox.net>
When the user is interested in pure renames, there is no point
doing the similarity scores. This changes the score argument
parsing to special case -M100 (otherwise, it is a precision
scaled value 0 <= v < 1 and would mean 0.1, not 1.0 --- if you
do mean 0.1, you can say -M1), and optimizes the diffcore_rename
transformation to only look at pure renames in that case.
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c | diff | blob | history | |
diffcore-rename.c | diff | blob | history |