author | H. Peter Anvin <hpa@zytor.com> | |
Mon, 21 Nov 2005 22:17:12 +0000 (14:17 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 21 Nov 2005 22:54:33 +0000 (14:54 -0800) | ||
commit | 1b1480ff6acda6e53325961e20fb13ae6895ee69 | |
tree | 0a8441bc998f995dd35380472314802f53c6e1f3 | tree | snapshot |
parent | f35230fb1123a0db4776c574a874aecec1f38db8 | commit | diff |
rename/copy score parsing updates.
Better variant, which handles stuff like "4.5%" and rejects
"192.168.0.1". Additionally, make sure numbers are unsigned (I'm making
them unsigned long just for the hell of it), to make sure that
artificial wraparound scenarios don't cause harm.
-hpa
[jc: with this, -M100 changes its meaning back to 10%. People
wanting to say "pure renames only" should now say -M100% or
-M1.0; sounds a bit like an earthquake, but arguably things are
more consistent this way ;-)]
Signed-off-by: Junio C Hamano <junkio@cox.net>
Better variant, which handles stuff like "4.5%" and rejects
"192.168.0.1". Additionally, make sure numbers are unsigned (I'm making
them unsigned long just for the hell of it), to make sure that
artificial wraparound scenarios don't cause harm.
-hpa
[jc: with this, -M100 changes its meaning back to 10%. People
wanting to say "pure renames only" should now say -M100% or
-M1.0; sounds a bit like an earthquake, but arguably things are
more consistent this way ;-)]
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c | diff | blob | history |