Make 'traverse_tree()' use linked structure rather than 'const char *base'
[git] / log-tree.h
1 #ifndef LOG_TREE_H
2 #define LOG_TREE_H
3
4 #include "revision.h"
5
6 struct log_info {
7         struct commit *commit, *parent;
8 };
9
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);
14 void show_log(struct rev_info *opt, const char *sep);
15 void show_decorations(struct commit *commit);
16 void log_write_email_headers(struct rev_info *opt, const char *name,
17                              const char **subject_p, const char **extra_headers_p);
18
19 #endif