]> git.ipfire.org Git - thirdparty/git.git/blame - log-tree.h
docs: address typos in Git v2.45 changelog
[thirdparty/git.git] / log-tree.h
CommitLineData
5f1c3f07
JH
1#ifndef LOG_TREE_H
2#define LOG_TREE_H
3
0fd2e215 4struct rev_info;
5f1c3f07 5
91539833
LT
6struct log_info {
7 struct commit *commit, *parent;
8};
9
65516f58 10struct decoration_filter {
a6be5e67
DS
11 struct string_list *include_ref_pattern;
12 struct string_list *exclude_ref_pattern;
13 struct string_list *exclude_ref_config_pattern;
65516f58
RA
14};
15
a3883a65
AK
16struct decoration_options {
17 char *prefix;
18 char *suffix;
19 char *separator;
f1f8a258
AK
20 char *pointer;
21 char *tag;
a3883a65
AK
22};
23
8852117a 24int parse_decorate_color_config(const char *var, const char *slot_name, const char *value);
cd2bdc53
LT
25int log_tree_diff_flush(struct rev_info *);
26int log_tree_commit(struct rev_info *, struct commit *);
02865655 27void show_log(struct rev_info *opt);
a3883a65
AK
28void format_decorations(struct strbuf *sb, const struct commit *commit,
29 int use_color, const struct decoration_options *opts);
0f3a290b 30void show_decorations(struct rev_info *opt, struct commit *commit);
108dab28 31void log_write_email_headers(struct rev_info *opt, struct commit *commit,
305a6814 32 char **extra_headers_p,
50cd54ef 33 int *need_8bit_cte_p,
34 int maybe_multipart);
65516f58 35void load_ref_decorations(struct decoration_filter *filter, int flags);
5f1c3f07 36
d28b5d47
JH
37void fmt_output_commit(struct strbuf *, struct commit *, struct rev_info *);
38void fmt_output_subject(struct strbuf *, const char *subject, struct rev_info *);
8ffc8dc6 39void fmt_output_email_subject(struct strbuf *, struct rev_info *);
6fa8e627 40
5f1c3f07 41#endif