7 struct commit *commit, *parent;
10 struct decoration_filter {
11 struct string_list *include_ref_pattern;
12 struct string_list *exclude_ref_pattern;
13 struct string_list *exclude_ref_config_pattern;
16 int parse_decorate_color_config(const char *var, const char *slot_name, const char *value);
17 void init_log_tree_opt(struct rev_info *);
18 int log_tree_diff_flush(struct rev_info *);
19 int log_tree_commit(struct rev_info *, struct commit *);
20 int log_tree_opt_parse(struct rev_info *, const char **, int);
21 void show_log(struct rev_info *opt);
22 void format_decorations_extended(struct strbuf *sb, const struct commit *commit,
25 const char *separator,
27 #define format_decorations(strbuf, commit, color) \
28 format_decorations_extended((strbuf), (commit), (color), " (", ", ", ")")
29 void show_decorations(struct rev_info *opt, struct commit *commit);
30 void log_write_email_headers(struct rev_info *opt, struct commit *commit,
31 const char **extra_headers_p,
34 void load_ref_decorations(struct decoration_filter *filter, int flags);
36 #define FORMAT_PATCH_NAME_MAX 64
37 void fmt_output_commit(struct strbuf *, struct commit *, struct rev_info *);
38 void fmt_output_subject(struct strbuf *, const char *subject, struct rev_info *);
39 void fmt_output_email_subject(struct strbuf *, struct rev_info *);