Junio C Hamano | 5f1c3f0 | 2006-04-09 01:11:11 -0700 | [diff] [blame] | 1 | #ifndef LOG_TREE_H |
| 2 | #define LOG_TREE_H |
| 3 | |
Linus Torvalds | cd2bdc5 | 2006-04-14 16:52:13 -0700 | [diff] [blame] | 4 | #include "revision.h" |
Junio C Hamano | 5f1c3f0 | 2006-04-09 01:11:11 -0700 | [diff] [blame] | 5 | |
Linus Torvalds | 9153983 | 2006-04-17 11:59:32 -0700 | [diff] [blame] | 6 | struct log_info { |
| 7 | struct commit *commit, *parent; |
| 8 | }; |
| 9 | |
Linus Torvalds | cd2bdc5 | 2006-04-14 16:52:13 -0700 | [diff] [blame] | 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); |
Adam Simpkins | 0286565 | 2008-04-29 01:32:59 -0700 | [diff] [blame] | 14 | void show_log(struct rev_info *opt); |
Linus Torvalds | 0f3a290 | 2008-10-27 12:51:59 -0700 | [diff] [blame] | 15 | void show_decorations(struct rev_info *opt, struct commit *commit); |
Stephen Boyd | 108dab2 | 2009-03-22 19:14:05 -0700 | [diff] [blame] | 16 | void log_write_email_headers(struct rev_info *opt, struct commit *commit, |
Junio C Hamano | 267123b | 2008-03-15 00:09:20 -0700 | [diff] [blame] | 17 | const char **subject_p, |
| 18 | const char **extra_headers_p, |
| 19 | int *need_8bit_cte_p); |
Lars Hjemli | 33e7018 | 2009-08-15 16:23:12 +0200 | [diff] [blame] | 20 | void load_ref_decorations(int flags); |
Junio C Hamano | 5f1c3f0 | 2006-04-09 01:11:11 -0700 | [diff] [blame] | 21 | |
Stephen Boyd | 6fa8e62 | 2009-03-22 19:14:04 -0700 | [diff] [blame] | 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 | |
Junio C Hamano | 5f1c3f0 | 2006-04-09 01:11:11 -0700 | [diff] [blame] | 26 | #endif |