setup_revisions(): handle -n<n> and -<n> internally.
authorJunio C Hamano <junkio@cox.net>
Thu, 2 Mar 2006 23:24:01 +0000 (15:24 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 2 Mar 2006 23:24:01 +0000 (15:24 -0800)
commit64bc6e3db54ef9e2accfdb8e6c8168f789946fcb
tree48eeaef44a1d278e4f7fb8e69869308bd43aa502
parent7ae0b0cb65f069b657155abcb6aa6780b93ce881
setup_revisions(): handle -n<n> and -<n> internally.

This moves the handling of max-count shorthand from the internal
implementation of "git log" to setup_revisions() so other users
of setup_revisions() can use it.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git.c
revision.c