shortlog: support --pretty=format: option
[git/git.git] / shortlog.h
CommitLineData
552bcac3
DB
1#ifndef SHORTLOG_H
2#define SHORTLOG_H
3
4#include "path-list.h"
5
6struct shortlog {
7 struct path_list list;
8 int summary;
9 int wrap_lines;
10 int sort_by_number;
11 int wrap;
12 int in1;
13 int in2;
b526f8ed 14 int user_format;
552bcac3
DB
15
16 char *common_repo_prefix;
17 int email;
18 struct path_list mailmap;
19};
20
21void shortlog_init(struct shortlog *log);
22
23void shortlog_add_commit(struct shortlog *log, struct commit *commit);
24
25void shortlog_output(struct shortlog *log);
26
27#endif