revision: --skip=<n>

This adds --skip=<n> option to revision traversal machinery.
Documentation and test were added by Robert Fitzsimons.

Signed-off-by: Robert Fitzsimons <robfitz@273k.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano
2006-12-19 18:25:32 -08:00
parent 54851157ac
commit d5db6c9ee7
4 changed files with 89 additions and 14 deletions

View File

@ -75,6 +75,7 @@ struct rev_info {
struct grep_opt *grep_filter;
/* special limits */
int skip_count;
int max_count;
unsigned long max_age;
unsigned long min_age;