Merge branch 'jk/forbid-lf-in-git-url' into maint
[git/debian.git] / shortlog.h
blob64be879b241b1bd3daf8d5a30cf736f98211e745
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;
19 enum {
20 SHORTLOG_GROUP_AUTHOR = (1 << 0),
21 SHORTLOG_GROUP_COMMITTER = (1 << 1),
22 SHORTLOG_GROUP_TRAILER = (1 << 2),
23 } groups;
24 struct string_list trailers;
26 char *common_repo_prefix;
27 int email;
28 struct string_list mailmap;
29 FILE *file;
32 void shortlog_init(struct shortlog *log);
34 void shortlog_add_commit(struct shortlog *log, struct commit *commit);
36 void shortlog_output(struct shortlog *log);
38 #endif