Make xstrndup common
[alt-git.git] / log-tree.h
blobe82b56a20d3cfad318a4af6ea78fbe098653211d
1 #ifndef LOG_TREE_H
2 #define LOG_TREE_H
4 #include "revision.h"
6 struct log_info {
7 struct commit *commit, *parent;
8 };
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);
16 #endif