X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=revision.h;h=05659c64acd7fe8eb7be011cee6174e397e57baf;hb=b406a2d3e30b1930ea3dc812bd1c4422ae135d14;hp=855464f1441654c1938135d6a99b247c70826146;hpb=1ba5c532e1f6ede63fd46bf6b647e70baa10a364;p=git.git diff --git a/revision.h b/revision.h index 855464f14..05659c64a 100644 --- a/revision.h +++ b/revision.h @@ -57,6 +57,7 @@ struct rev_info { limited:1, unpacked:1, boundary:2, + count:1, left_right:1, rewrite_parents:1, print_parents:1, @@ -132,6 +133,10 @@ struct rev_info { /* notes-specific options: which refs to show */ struct display_notes_opt notes_opt; + + /* commit counts */ + int count_left; + int count_right; }; #define REV_TREE_SAME 0 @@ -146,6 +151,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);