Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

mailmap.c: remove unused function

map_email() is not used anywhere.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information...
commit 42b3b0061478f262118036286455a8f09a0d3fff 1 parent 5e133b8
Junio C Hamano authored January 11, 2010

Showing 2 changed files with 0 additions and 6 deletions. Show diff stats Hide diff stats

  1. 5  mailmap.c
  2. 1  mailmap.h
5  mailmap.c
@@ -243,8 +243,3 @@ int map_user(struct string_list *map,
243 243
 	debug_mm("map_user:  --\n");
244 244
 	return 0;
245 245
 }
246  
-
247  
-int map_email(struct string_list *map, const char *email, char *name, int maxlen)
248  
-{
249  
-	return map_user(map, (char *)email, 0, name, maxlen);
250  
-}
1  mailmap.h
@@ -4,7 +4,6 @@
4 4
 int read_mailmap(struct string_list *map, char **repo_abbrev);
5 5
 void clear_mailmap(struct string_list *map);
6 6
 
7  
-int map_email(struct string_list *mailmap, const char *email, char *name, int maxlen);
8 7
 int map_user(struct string_list *mailmap,
9 8
 	     char *email, int maxlen_email, char *name, int maxlen_name);
10 9
 

0 notes on commit 42b3b00

Please sign in to comment.
Something went wrong with that request. Please try again.