Git 2.1.2
[git/git.git] / log-tree.h
CommitLineData
5f1c3f07
JH
1#ifndef LOG_TREE_H
2#define LOG_TREE_H
3
cd2bdc53 4#include "revision.h"
5f1c3f07 5
91539833
LT
6struct log_info {
7 struct commit *commit, *parent;
8};
9
5e11bee6 10int parse_decorate_color_config(const char *var, const int ofs, const char *value);
cd2bdc53
LT
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);
02865655 15void show_log(struct rev_info *opt);
9d3f002f 16void format_decorations(struct strbuf *sb, const struct commit *commit, int use_color);
0f3a290b 17void show_decorations(struct rev_info *opt, struct commit *commit);
108dab28 18void log_write_email_headers(struct rev_info *opt, struct commit *commit,
267123b4
JH
19 const char **subject_p,
20 const char **extra_headers_p,
21 int *need_8bit_cte_p);
33e7018c 22void load_ref_decorations(int flags);
5f1c3f07 23
6fa8e627 24#define FORMAT_PATCH_NAME_MAX 64
d28b5d47
JH
25void fmt_output_commit(struct strbuf *, struct commit *, struct rev_info *);
26void fmt_output_subject(struct strbuf *, const char *subject, struct rev_info *);
6fa8e627 27
5f1c3f07 28#endif