shortlog.h 492 Bytes
Newer Older
Daniel Barkalow's avatar
Daniel Barkalow committed
1 2 3
#ifndef SHORTLOG_H
#define SHORTLOG_H

4
#include "string-list.h"
Daniel Barkalow's avatar
Daniel Barkalow committed
5 6

struct shortlog {
7
	struct string_list list;
Daniel Barkalow's avatar
Daniel Barkalow committed
8 9 10 11 12 13
	int summary;
	int wrap_lines;
	int sort_by_number;
	int wrap;
	int in1;
	int in2;
14
	int user_format;
15
	int abbrev;
16
	int committer;
Daniel Barkalow's avatar
Daniel Barkalow committed
17 18 19

	char *common_repo_prefix;
	int email;
20
	struct string_list mailmap;
21
	FILE *file;
Daniel Barkalow's avatar
Daniel Barkalow committed
22 23 24 25 26 27 28 29 30
};

void shortlog_init(struct shortlog *log);

void shortlog_add_commit(struct shortlog *log, struct commit *commit);

void shortlog_output(struct shortlog *log);

#endif