git cat-file: Fix memory leak in batch mode
[git/jnareb-git/bp-gitweb.git] / shortlog.h
blob31ff491b7448f69385cddb640819e7ea14e2fb3e
1 #ifndef SHORTLOG_H
2 #define SHORTLOG_H
4 #include "path-list.h"
6 struct shortlog {
7 struct path_list list;
8 int summary;
9 int wrap_lines;
10 int sort_by_number;
11 int wrap;
12 int in1;
13 int in2;
15 char *common_repo_prefix;
16 int email;
17 struct path_list mailmap;
20 void shortlog_init(struct shortlog *log);
22 void shortlog_add_commit(struct shortlog *log, struct commit *commit);
24 void shortlog_output(struct shortlog *log);
26 #endif