author | Junio C Hamano <junkio@cox.net> | |
Fri, 3 Jun 2005 08:37:54 +0000 (01:37 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Fri, 3 Jun 2005 18:23:03 +0000 (11:23 -0700) | ||
commit | 0e3994fa97e9876b571531444b97ae6e63fd744d | |
tree | f8ff146064f56528bc09efc7eafcc59f61fb344d | tree | snapshot |
parent | ce24067549a8554b214e723d7aa4bc063c54409e | commit | diff |
[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>
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 | blob | history | |
diff-files.c | diff | blob | history | |
diff-tree.c | diff | blob | history | |
diff.c | diff | blob | history | |
diffcore-rename.c | diff | blob | history |