builtin-mailinfo.c: check error status from rewind and ftruncate
[git/spearce.git] / mailmap.h
blob4b2ca3a7de972c10f214b38a25be522abcbbafd0
1 #ifndef MAILMAP_H
2 #define MAILMAP_H
4 int read_mailmap(struct string_list *map, char **repo_abbrev);
5 void clear_mailmap(struct string_list *map);
7 int map_email(struct string_list *mailmap, const char *email, char *name, int maxlen);
8 int map_user(struct string_list *mailmap,
9 char *email, int maxlen_email, char *name, int maxlen_name);
11 #endif