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); |
Christian Couder | 50e62a8 | 2007-10-22 07:47:56 +0200 | [diff] [blame] | 15 | void show_decorations(struct commit *commit); |
Daniel Barkalow | b02bd65 | 2008-02-18 22:56:08 -0500 | [diff] [blame] | 16 | void log_write_email_headers(struct rev_info *opt, const char *name, |
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); |
Junio C Hamano | 5f1c3f0 | 2006-04-09 01:11:11 -0700 | [diff] [blame] | 20 | |
| 21 | #endif |