Daniel Barkalow | 552bcac | 2008-02-25 18:24:14 -0500 | [diff] [blame] | 1 | #ifndef SHORTLOG_H |
| 2 | #define SHORTLOG_H |
| 3 | |
Johannes Schindelin | c455c87 | 2008-07-21 19:03:49 +0100 | [diff] [blame] | 4 | #include "string-list.h" |
Daniel Barkalow | 552bcac | 2008-02-25 18:24:14 -0500 | [diff] [blame] | 5 | |
| 6 | struct shortlog { |
Johannes Schindelin | c455c87 | 2008-07-21 19:03:49 +0100 | [diff] [blame] | 7 | struct string_list list; |
Daniel Barkalow | 552bcac | 2008-02-25 18:24:14 -0500 | [diff] [blame] | 8 | int summary; |
| 9 | int wrap_lines; |
| 10 | int sort_by_number; |
| 11 | int wrap; |
| 12 | int in1; |
| 13 | int in2; |
Johannes Schindelin | b526f8e | 2008-07-14 19:08:52 +0100 | [diff] [blame] | 14 | int user_format; |
Will Palmer | c197702 | 2010-05-03 22:18:57 -0500 | [diff] [blame] | 15 | int abbrev; |
Linus Torvalds | fbfda15 | 2016-10-11 11:45:58 -0700 | [diff] [blame] | 16 | int committer; |
Daniel Barkalow | 552bcac | 2008-02-25 18:24:14 -0500 | [diff] [blame] | 17 | |
| 18 | char *common_repo_prefix; |
| 19 | int email; |
Johannes Schindelin | c455c87 | 2008-07-21 19:03:49 +0100 | [diff] [blame] | 20 | struct string_list mailmap; |
Johannes Schindelin | 0a7b357 | 2016-06-22 17:01:49 +0200 | [diff] [blame] | 21 | FILE *file; |
Daniel Barkalow | 552bcac | 2008-02-25 18:24:14 -0500 | [diff] [blame] | 22 | }; |
| 23 | |
| 24 | void shortlog_init(struct shortlog *log); |
| 25 | |
| 26 | void shortlog_add_commit(struct shortlog *log, struct commit *commit); |
| 27 | |
| 28 | void shortlog_output(struct shortlog *log); |
| 29 | |
| 30 | #endif |