blob: 59ba4c48b7966db34c6345a445ab0b10e235ac83 [file] [log] [blame]
Junio C Hamano5f1c3f02006-04-09 01:11:11 -07001#ifndef LOG_TREE_H
2#define LOG_TREE_H
3
Linus Torvaldscd2bdc52006-04-14 16:52:13 -07004#include "revision.h"
Junio C Hamano5f1c3f02006-04-09 01:11:11 -07005
Linus Torvalds91539832006-04-17 11:59:32 -07006struct log_info {
7 struct commit *commit, *parent;
8};
9
Linus Torvaldscd2bdc52006-04-14 16:52:13 -070010void init_log_tree_opt(struct rev_info *);
11int log_tree_diff_flush(struct rev_info *);
12int log_tree_commit(struct rev_info *, struct commit *);
13int log_tree_opt_parse(struct rev_info *, const char **, int);
Adam Simpkins02865652008-04-29 01:32:59 -070014void show_log(struct rev_info *opt);
Christian Couder50e62a82007-10-22 07:47:56 +020015void show_decorations(struct commit *commit);
Daniel Barkalowb02bd652008-02-18 22:56:08 -050016void log_write_email_headers(struct rev_info *opt, const char *name,
Junio C Hamano267123b2008-03-15 00:09:20 -070017 const char **subject_p,
18 const char **extra_headers_p,
19 int *need_8bit_cte_p);
Junio C Hamano5f1c3f02006-04-09 01:11:11 -070020
21#endif