2008-02-26 02:24:14 +03:00
|
|
|
#ifndef SHORTLOG_H
|
|
|
|
#define SHORTLOG_H
|
|
|
|
|
2008-07-21 22:03:49 +04:00
|
|
|
#include "string-list.h"
|
2008-02-26 02:24:14 +03:00
|
|
|
|
2018-08-15 20:54:05 +03:00
|
|
|
struct commit;
|
|
|
|
|
2008-02-26 02:24:14 +03:00
|
|
|
struct shortlog {
|
2008-07-21 22:03:49 +04:00
|
|
|
struct string_list list;
|
2008-02-26 02:24:14 +03:00
|
|
|
int summary;
|
|
|
|
int wrap_lines;
|
|
|
|
int sort_by_number;
|
|
|
|
int wrap;
|
|
|
|
int in1;
|
|
|
|
int in2;
|
2008-07-14 22:08:52 +04:00
|
|
|
int user_format;
|
2010-05-04 07:18:57 +04:00
|
|
|
int abbrev;
|
2016-10-11 21:45:58 +03:00
|
|
|
int committer;
|
2008-02-26 02:24:14 +03:00
|
|
|
|
|
|
|
char *common_repo_prefix;
|
|
|
|
int email;
|
2008-07-21 22:03:49 +04:00
|
|
|
struct string_list mailmap;
|
2016-06-22 18:01:49 +03:00
|
|
|
FILE *file;
|
2008-02-26 02:24:14 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
void shortlog_init(struct shortlog *log);
|
|
|
|
|
|
|
|
void shortlog_add_commit(struct shortlog *log, struct commit *commit);
|
|
|
|
|
|
|
|
void shortlog_output(struct shortlog *log);
|
|
|
|
|
|
|
|
#endif
|