| 1 | #ifndef SHORTLOG_H |
| 2 | #define SHORTLOG_H |
| 3 | |
| 4 | #include "string-list.h" |
| 5 | |
| 6 | struct shortlog { |
| 7 | struct string_list list; |
| 8 | int summary; |
| 9 | int wrap_lines; |
| 10 | int sort_by_number; |
| 11 | int wrap; |
| 12 | int in1; |
| 13 | int in2; |
| 14 | int user_format; |
| 15 | int abbrev; |
| 16 | |
| 17 | char *common_repo_prefix; |
| 18 | int email; |
| 19 | struct string_list mailmap; |
| 20 | FILE *file; |
| 21 | }; |
| 22 | |
| 23 | void shortlog_init(struct shortlog *log); |
| 24 | |
| 25 | void shortlog_add_commit(struct shortlog *log, struct commit *commit); |
| 26 | |
| 27 | void shortlog_output(struct shortlog *log); |
| 28 | |
| 29 | #endif |