read-cache.c: use xcalloc() not calloc()
[git/git.git] / log-tree.h
1 #ifndef LOG_TREE_H
2 #define LOG_TREE_H
3
4 struct 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
18 void init_log_tree_opt(struct log_tree_opt *);
19 int log_tree_diff_flush(struct log_tree_opt *);
20 int log_tree_commit(struct log_tree_opt *, struct commit *);
21 int log_tree_opt_parse(struct log_tree_opt *, const char **, int);
22
23 #endif