mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
![Junio C Hamano](/assets/img/avatar_default.png)
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
|