diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-02-15 01:44:15 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-02-15 01:44:15 -0800 |
commit | 160d2bc35382fb23beb99457e9111d15554bf223 (patch) | |
tree | ec3722d8676e73f69c0ab172cf44a06c7aac5fc6 /mailmap.h | |
parent | 2a8644c7f163e4b76a36739ba936f8d5d91c3cf4 (diff) | |
parent | 7d48e9e6f77d336376c1a554eeff0590f77e1ee1 (diff) | |
download | git-160d2bc35382fb23beb99457e9111d15554bf223.tar.gz |
Merge branch 'ms/mailmap'
* ms/mailmap:
Move mailmap documentation into separate file
Change current mailmap usage to do matching on both name and email of author/committer.
Add map_user() and clear_mailmap() to mailmap
Add find_insert_index, insert_at_index and clear_func functions to string_list
Add mailmap.file as configurational option for mailmap location
Diffstat (limited to 'mailmap.h')
-rw-r--r-- | mailmap.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,11 @@ #ifndef MAILMAP_H #define MAILMAP_H -int read_mailmap(struct string_list *map, const char *filename, char **repo_abbrev); +int read_mailmap(struct string_list *map, char **repo_abbrev); +void clear_mailmap(struct string_list *map); + int map_email(struct string_list *mailmap, const char *email, char *name, int maxlen); +int map_user(struct string_list *mailmap, + char *email, int maxlen_email, char *name, int maxlen_name); #endif |