[PATCH] diff: Clean up diff_scoreopt_parse().
authorJunio C Hamano <junkio@cox.net>
Fri, 3 Jun 2005 08:37:54 +0000 (01:37 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 3 Jun 2005 18:23:03 +0000 (11:23 -0700)
commit0e3994fa97e9876b571531444b97ae6e63fd744d
treef8ff146064f56528bc09efc7eafcc59f61fb344d
parentce24067549a8554b214e723d7aa4bc063c54409e
[PATCH] diff: Clean up diff_scoreopt_parse().

This cleans up diff_scoreopt_parse() function that is used to
parse the fractional notation -B, -C and -M option takes.  The
callers are modified to check for errors and complain.  Earlier
they silently ignored malformed input and falled back on the
default.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff-cache.c
diff-files.c
diff-tree.c
diff.c
diffcore-rename.c