X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=revision.h;h=be39e7d38643817cced4e07a89b6db5201f2b747;hb=5a0e4a2a326966aabb566164a7571291e34adabd;hp=6fcfb8ce0c956a07a77be73f04375567d7f0cd37;hpb=8d2dfc49b199c7da6faefd7993630f24bd37fee0;p=git.git diff --git a/revision.h b/revision.h index 6fcfb8ce0..be39e7d38 100644 --- a/revision.h +++ b/revision.h @@ -42,17 +42,22 @@ struct rev_info { simplify_history:1, lifo:1, topo_order:1, + simplify_merges:1, + simplify_by_decoration:1, tag_objects:1, tree_objects:1, blob_objects:1, edge_hint:1, limited:1, - unpacked:1, /* see also ignore_packed below */ + unpacked:1, boundary:2, left_right:1, rewrite_parents:1, print_parents:1, + show_source:1, + show_decorations:1, reverse:1, + reverse_output_stage:1, cherry_pick:1, first_parent_only:1; @@ -75,16 +80,15 @@ struct rev_info { missing_newline:1; enum date_mode date_mode; - const char **ignore_packed; /* pretend objects in these are unpacked */ - int num_ignore_packed; - unsigned int abbrev; enum cmit_fmt commit_format; struct log_info *loginfo; int nr, total; const char *mime_boundary; + const char *patch_suffix; + int numbered_files; char *message_id; - const char *ref_message_id; + struct string_list *ref_message_ids; const char *add_signoff; const char *extra_headers; const char *log_reencode; @@ -110,6 +114,7 @@ struct rev_info { struct reflog_walk_info *reflog_info; struct decoration children; + struct decoration merge_simplification; }; #define REV_TREE_SAME 0 @@ -141,7 +146,7 @@ struct name_path { const char *elem; }; -char *path_name(struct name_path *path, const char *name); +char *path_name(const struct name_path *path, const char *name); extern void add_object(struct object *obj, struct object_array *p,