shortlog: group by committer information
[git/git.git] / shortlog.h
CommitLineData
552bcac3
DB
1#ifndef SHORTLOG_H
2#define SHORTLOG_H
3
c455c87c 4#include "string-list.h"
552bcac3
DB
5
6struct shortlog {
c455c87c 7 struct string_list list;
552bcac3
DB
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;
c1977021 15 int abbrev;
fbfda15f 16 int committer;
552bcac3
DB
17
18 char *common_repo_prefix;
19 int email;
c455c87c 20 struct string_list mailmap;
0a7b3577 21 FILE *file;
552bcac3
DB
22};
23
24void shortlog_init(struct shortlog *log);
25
26void shortlog_add_commit(struct shortlog *log, struct commit *commit);
27
28void shortlog_output(struct shortlog *log);
29
30#endif