summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-12-19 18:25:32 -0800
committerJunio C Hamano <junkio@cox.net>2006-12-20 11:26:11 -0800
commitd5db6c9ee79cfa1794d75847b8376430f08b203f (patch)
tree2ee917ce3959b7fd6d6e5bfc15c0e986a6c5b615 /revision.h
parent54851157acf707eb953eada2a84830897dde5c1d (diff)
downloadgit-d5db6c9ee79cfa1794d75847b8376430f08b203f.tar.gz
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>
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h
index 3adab9590a..81f522c35d 100644
--- a/revision.h
+++ b/revision.h
@@ -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;