From 7c1c6782e0b88c9366c575fd47e48050070afdd3 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 27 Apr 2007 00:41:15 -0700 Subject: Split out mailmap handling out of shortlog This splits out a few functions to deal with mailmap from shortlog and makes it a bit more usable from other programs. Most notably, it does not clobber input e-mail address anymore. Signed-off-by: Junio C Hamano --- mailmap.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 mailmap.h (limited to 'mailmap.h') diff --git a/mailmap.h b/mailmap.h new file mode 100644 index 0000000000..3503fd2727 --- /dev/null +++ b/mailmap.h @@ -0,0 +1,7 @@ +#ifndef MAILMAP_H +#define MAILMAP_H + +int read_mailmap(struct path_list *map, const char *filename, char **repo_abbrev); +int map_email(struct path_list *mailmap, const char *email, char *name, int maxlen); + +#endif -- cgit v1.2.3