diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-04-02 07:46:31 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-02 07:46:31 +0200 |
commit | 02c62b10de16515497f1b6fde6278ac531b90f1c (patch) | |
tree | 7c449c4212d6b05ed7e933cfb46f7a86e4cbe0de /mailmap.c | |
parent | Merge branch 'cj/doc-format' (diff) | |
parent | Merge branch 'maint-1.6.1' into maint (diff) | |
download | git-02c62b10de16515497f1b6fde6278ac531b90f1c.tar.xz git-02c62b10de16515497f1b6fde6278ac531b90f1c.zip |
Merge branch 'maint'
* maint:
Documentation: Remove an odd "instead"
fix portability problem with IS_RUN_COMMAND_ERR
mailmap: resurrect lower-casing of email addresses
Diffstat (limited to 'mailmap.c')
-rw-r--r-- | mailmap.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -50,6 +50,15 @@ static void add_mapping(struct string_list *map, { struct mailmap_entry *me; int index; + char *p; + + if (old_email) + for (p = old_email; *p; p++) + *p = tolower(*p); + if (new_email) + for (p = new_email; *p; p++) + *p = tolower(*p); + if (old_email == NULL) { old_email = new_email; new_email = NULL; |