]>
Commit | Line | Data |
---|---|---|
552bcac3 DB |
1 | #ifndef SHORTLOG_H |
2 | #define SHORTLOG_H | |
3 | ||
c455c87c | 4 | #include "string-list.h" |
552bcac3 | 5 | |
ef3ca954 EN |
6 | struct commit; |
7 | ||
552bcac3 | 8 | struct shortlog { |
c455c87c | 9 | struct string_list list; |
552bcac3 DB |
10 | int summary; |
11 | int wrap_lines; | |
12 | int sort_by_number; | |
13 | int wrap; | |
14 | int in1; | |
15 | int in2; | |
b526f8ed | 16 | int user_format; |
c1977021 | 17 | int abbrev; |
fbfda15f | 18 | int committer; |
552bcac3 DB |
19 | |
20 | char *common_repo_prefix; | |
21 | int email; | |
c455c87c | 22 | struct string_list mailmap; |
0a7b3577 | 23 | FILE *file; |
552bcac3 DB |
24 | }; |
25 | ||
26 | void shortlog_init(struct shortlog *log); | |
27 | ||
28 | void shortlog_add_commit(struct shortlog *log, struct commit *commit); | |
29 | ||
30 | void shortlog_output(struct shortlog *log); | |
31 | ||
32 | #endif |