X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=revision.h;h=855464f1441654c1938135d6a99b247c70826146;hb=97b03c353856602a3c30b01baae1efb8dfe4243e;hp=fcc0de8eea9e0b6c14966b8a10f35e9c4be35de9;hpb=32962c9bd5149005b163dff230670872eb99286a;p=git.git diff --git a/revision.h b/revision.h index fcc0de8ee..855464f14 100644 --- a/revision.h +++ b/revision.h @@ -3,6 +3,7 @@ #include "parse-options.h" #include "grep.h" +#include "notes.h" #define SEEN (1u<<0) #define UNINTERESTING (1u<<1) @@ -20,6 +21,7 @@ struct rev_info; struct log_info; +struct string_list; struct rev_info { /* Starting list */ @@ -64,6 +66,7 @@ struct rev_info { reverse_output_stage:1, cherry_pick:1, bisect:1, + ancestry_path:1, first_parent_only:1; /* Diff flags */ @@ -126,6 +129,9 @@ struct rev_info { struct reflog_walk_info *reflog_info; struct decoration children; struct decoration merge_simplification; + + /* notes-specific options: which refs to show */ + struct display_notes_opt notes_opt; }; #define REV_TREE_SAME 0 @@ -139,6 +145,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 *); }; extern void init_revisions(struct rev_info *revs, const char *prefix);