Re: [PATCH 05/14] handle_revision_opt(): use convert_i() when handling -digit

2015-03-19 Thread Junio C Hamano
Michael Haggerty mhag...@alum.mit.edu writes: This tightens up the parsing a bit: * Leading whitespace is no longer allowed * '+' and '-' are no longer allowed It also removes the need to check separately that max_count is non-negative. Hmmm, on the surface this sound nice, but I am not

[PATCH 05/14] handle_revision_opt(): use convert_i() when handling -digit

2015-03-17 Thread Michael Haggerty
This tightens up the parsing a bit: * Leading whitespace is no longer allowed * '+' and '-' are no longer allowed It also removes the need to check separately that max_count is non-negative. Signed-off-by: Michael Haggerty mhag...@alum.mit.edu --- revision.c | 4 ++-- 1 file changed, 2