blob: de4f86fb970e15491f44dfe38b7d7d6fdc3be9ad [file] [log] [blame]
Daniel Barkalow552bcac2008-02-25 18:24:14 -05001#ifndef SHORTLOG_H
2#define SHORTLOG_H
3
Johannes Schindelinc455c872008-07-21 19:03:49 +01004#include "string-list.h"
Daniel Barkalow552bcac2008-02-25 18:24:14 -05005
6struct shortlog {
Johannes Schindelinc455c872008-07-21 19:03:49 +01007 struct string_list list;
Daniel Barkalow552bcac2008-02-25 18:24:14 -05008 int summary;
9 int wrap_lines;
10 int sort_by_number;
11 int wrap;
12 int in1;
13 int in2;
Johannes Schindelinb526f8e2008-07-14 19:08:52 +010014 int user_format;
Will Palmerc1977022010-05-03 22:18:57 -050015 int abbrev;
Daniel Barkalow552bcac2008-02-25 18:24:14 -050016
17 char *common_repo_prefix;
18 int email;
Johannes Schindelinc455c872008-07-21 19:03:49 +010019 struct string_list mailmap;
Daniel Barkalow552bcac2008-02-25 18:24:14 -050020};
21
22void shortlog_init(struct shortlog *log);
23
24void shortlog_add_commit(struct shortlog *log, struct commit *commit);
25
26void shortlog_output(struct shortlog *log);
27
28#endif