Ensure author & committer before asking for commit message.
[alt-git.git] / log-tree.h
blobda166c6f2c7b3a0fae80fbe63c8cde38eb609054
1 #ifndef LOG_TREE_H
2 #define LOG_TREE_H
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;
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);
23 #endif