rev-list: documentation and test for --left/right-only
[gitweb.git] / revision.h
index 36fdf22b299c4cc7e6f20d767d5c6a6c3f69d952..d2ffde1ce67a555ec6ac8b00b3b225a7bdad2319 100644 (file)
@@ -59,6 +59,8 @@ struct rev_info {
                        boundary:2,
                        count:1,
                        left_right:1,
+                       left_only:1,
+                       right_only:1,
                        rewrite_parents:1,
                        print_parents:1,
                        show_source:1,
@@ -151,6 +153,7 @@ extern volatile show_early_output_fn_t show_early_output;
 struct setup_revision_opt {
        const char *def;
        void (*tweak)(struct rev_info *, struct setup_revision_opt *);
+       const char *submodule;
 };
 
 extern void init_revisions(struct rev_info *revs, const char *prefix);