rev-list: allow -<n> as shorthand for --max-count=<n>
commit8233340ce6eb700eb2cd9c0fef4d1705997c499b
authorEric Wong <normalperson@yhbt.net>
Mon, 30 Jan 2006 00:28:02 +0000 (29 16:28 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 1 Feb 2006 00:23:03 +0000 (31 16:23 -0800)
tree7b3ac058c2f8d702259668e58ef0e281af53579c
parent3af06987eb3c376e2f1cc6dfa9c9c510b9e228cf
rev-list: allow -<n> as shorthand for --max-count=<n>

This builds on top of the previous one.

Traditionally, head(1) and tail(1) allow their line limits to be
parsed this way.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
rev-list.c
rev-parse.c