dir.c: use st_add3() for allocation size
[git.git] / shortlog.h
blob2fa61c42946262238ae2f1662ef3c2d1e981b274
1 #ifndef SHORTLOG_H
2 #define SHORTLOG_H
4 #include "string-list.h"
6 struct commit;
8 struct shortlog {
9 struct string_list list;
10 int summary;
11 int wrap_lines;
12 int sort_by_number;
13 int wrap;
14 int in1;
15 int in2;
16 int user_format;
17 int abbrev;
18 int committer;
20 char *common_repo_prefix;
21 int email;
22 struct string_list mailmap;
23 FILE *file;
26 void shortlog_init(struct shortlog *log);
28 void shortlog_add_commit(struct shortlog *log, struct commit *commit);
30 void shortlog_output(struct shortlog *log);
32 #endif