[PATCH 13/18] mailmap.c: remove unused function
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 12, 2010, 07:52 UTC
- Message-ID
- <1263282781-25596-14-git-send-email-gitster@pobox.com>
- In-Reply-To
- <1263282781-25596-1-git-send-email-gitster@pobox.com>
map_email() is not used anywhere since d20d654 (Change current mailmap usage to do matching on both name and email of author/committer., 2009-02-08).
Signed-off-by: Junio C Hamano <gitster@pobox.com> --- mailmap.c | 5 ----- mailmap.h | 1 - 2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/mailmap.c b/mailmap.c index f167c00..b68c1fe 100644 --- a/mailmap.c +++ b/mailmap.c @@ -243,8 +243,3 @@ int map_user(struct string_list *map, debug_mm("map_user: --\n"); return 0; } - -int map_email(struct string_list *map, const char *email, char *name, int maxlen) -{ - return map_user(map, (char *)email, 0, name, maxlen); -} diff --git a/mailmap.h b/mailmap.h index 4b2ca3a..d5c3664 100644 --- a/mailmap.h +++ b/mailmap.h @@ -4,7 +4,6 @@ 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);
-- 1.6.6.280.ge295b7.dirty