mirror of
https://github.com/git/git.git
synced 2024-11-25 19:04:18 +08:00
7c1c6782e0
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 <junkio@cox.net>
8 lines
213 B
C
8 lines
213 B
C
#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
|