1#ifndef LOG_TREE_H2#define LOG_TREE_H34#include "revision.h"56struct log_info {7struct commit *commit, *parent;8};910int parse_decorate_color_config(const char *var, const char *slot_name, const char *value);11void init_log_tree_opt(struct rev_info *);12int log_tree_diff_flush(struct rev_info *);13int log_tree_commit(struct rev_info *, struct commit *);14int log_tree_opt_parse(struct rev_info *, const char **, int);15void show_log(struct rev_info *opt);16void format_decorations_extended(struct strbuf *sb, const struct commit *commit,17int use_color,18const char *prefix,19const char *separator,20const char *suffix);21#define format_decorations(strbuf, commit, color) \22format_decorations_extended((strbuf), (commit), (color), " (", ", ", ")")23void show_decorations(struct rev_info *opt, struct commit *commit);24void log_write_email_headers(struct rev_info *opt, struct commit *commit,25const char **extra_headers_p,26int *need_8bit_cte_p);27void load_ref_decorations(int flags);2829#define FORMAT_PATCH_NAME_MAX 6430void fmt_output_commit(struct strbuf *, struct commit *, struct rev_info *);31void fmt_output_subject(struct strbuf *, const char *subject, struct rev_info *);32void fmt_output_email_subject(struct strbuf *, struct rev_info *);3334#endif