summaryrefslogtreecommitdiff
path: root/log-tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'log-tree.h')
-rw-r--r--log-tree.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/log-tree.h b/log-tree.h
index 48f11fb740..e668628074 100644
--- a/log-tree.h
+++ b/log-tree.h
@@ -7,6 +7,10 @@ struct log_info {
struct commit *commit, *parent;
};
+struct decoration_filter {
+ struct string_list *include_ref_pattern, *exclude_ref_pattern;
+};
+
int parse_decorate_color_config(const char *var, const char *slot_name, const char *value);
void init_log_tree_opt(struct rev_info *);
int log_tree_diff_flush(struct rev_info *);
@@ -23,8 +27,9 @@ void format_decorations_extended(struct strbuf *sb, const struct commit *commit,
void show_decorations(struct rev_info *opt, struct commit *commit);
void log_write_email_headers(struct rev_info *opt, struct commit *commit,
const char **extra_headers_p,
- int *need_8bit_cte_p);
-void load_ref_decorations(int flags);
+ int *need_8bit_cte_p,
+ int maybe_multipart);
+void load_ref_decorations(struct decoration_filter *filter, int flags);
#define FORMAT_PATCH_NAME_MAX 64
void fmt_output_commit(struct strbuf *, struct commit *, struct rev_info *);