1#ifndef LOG_TREE_H
2#define LOG_TREE_H
3
4struct log_tree_opt {
5 struct diff_options diffopt;
6 int show_root_diff;
7 int no_commit_id;
8 int verbose_header;
9 int ignore_merges;
10 int combine_merges;
11 int dense_combined_merges;
12 int always_show_header;
13 const char *header_prefix;
14 const char *header;
15 enum cmit_fmt commit_format;
16};
17
18void init_log_tree_opt(struct log_tree_opt *);
19int log_tree_diff_flush(struct log_tree_opt *);
20int log_tree_commit(struct log_tree_opt *, struct commit *);
21int log_tree_opt_parse(struct log_tree_opt *, const char **, int);
22
23#endif