]>
Commit | Line | Data |
---|---|---|
5f1c3f07 JH |
1 | #ifndef LOG_TREE_H |
2 | #define LOG_TREE_H | |
3 | ||
cd2bdc53 | 4 | #include "revision.h" |
5f1c3f07 | 5 | |
91539833 LT |
6 | struct log_info { |
7 | struct commit *commit, *parent; | |
8 | }; | |
9 | ||
cd2bdc53 LT |
10 | void init_log_tree_opt(struct rev_info *); |
11 | int log_tree_diff_flush(struct rev_info *); | |
12 | int log_tree_commit(struct rev_info *, struct commit *); | |
13 | int log_tree_opt_parse(struct rev_info *, const char **, int); | |
02865655 | 14 | void show_log(struct rev_info *opt); |
0f3a290b | 15 | void show_decorations(struct rev_info *opt, struct commit *commit); |
108dab28 | 16 | void log_write_email_headers(struct rev_info *opt, struct commit *commit, |
267123b4 JH |
17 | const char **subject_p, |
18 | const char **extra_headers_p, | |
19 | int *need_8bit_cte_p); | |
33e7018c | 20 | void load_ref_decorations(int flags); |
5f1c3f07 | 21 | |
6fa8e627 SB |
22 | #define FORMAT_PATCH_NAME_MAX 64 |
23 | void get_patch_filename(struct commit *commit, int nr, const char *suffix, | |
24 | struct strbuf *buf); | |
25 | ||
5f1c3f07 | 26 | #endif |