All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: git@vger.kernel.org
Cc: Marius Storm-Olsen <marius@trolltech.com>
Subject: [PATCH 13/18] mailmap.c: remove unused function
Date: Mon, 11 Jan 2010 23:52:56 -0800	[thread overview]
Message-ID: <1263282781-25596-14-git-send-email-gitster@pobox.com> (raw)
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

  parent reply	other threads:[~2010-01-12  7:53 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-12  7:52 [PATCH 00/18] mark file-local symbols static Junio C Hamano
2010-01-12  7:52 ` [PATCH 01/18] bisect.c: mark file-local function static Junio C Hamano
2010-01-12  7:52 ` [PATCH 02/18] builtin-rev-list.c: " Junio C Hamano
2010-01-12  7:52 ` [PATCH 03/18] pretty.c: " Junio C Hamano
2010-01-12  7:52 ` [PATCH 04/18] date.c: " Junio C Hamano
2010-01-12  8:37   ` Johannes Sixt
2010-01-12  9:05     ` Junio C Hamano
2010-01-12  9:43       ` Johannes Sixt
2010-01-12  7:52 ` [PATCH 05/18] http.c: mark file-local functions static Junio C Hamano
2010-01-12  7:52 ` [PATCH 06/18] entry.c: mark file-local function static Junio C Hamano
2010-01-12  7:52 ` [PATCH 07/18] parse-options.c: " Junio C Hamano
2010-01-12  7:52 ` [PATCH 08/18] read-cache.c: mark file-local functions static Junio C Hamano
2010-01-12  7:52 ` [PATCH 09/18] remote-curl.c: mark file-local function static Junio C Hamano
2010-01-12  7:52 ` [PATCH 10/18] quote.c: " Junio C Hamano
2010-01-12  7:52 ` [PATCH 11/18] submodule.c: " Junio C Hamano
2010-01-12  7:52 ` [PATCH 12/18] utf8.c: " Junio C Hamano
2010-01-12  7:52 ` Junio C Hamano [this message]
2010-01-12  7:52 ` [PATCH 14/18] sha1_file.c: remove unused function Junio C Hamano
2010-01-12  7:52 ` [PATCH 15/18] strbuf.c: " Junio C Hamano
2010-01-12  7:52 ` [PATCH 16/18] blob.c: " Junio C Hamano
2010-01-12 17:37   ` Daniel Barkalow
2010-01-13  6:56     ` Junio C Hamano
2010-01-12  7:53 ` [PATCH 17/18] object.c: remove unused functions Junio C Hamano
2010-01-12  7:53 ` [PATCH 18/18] symlinks.c: " Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1263282781-25596-14-git-send-email-gitster@pobox.com \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=marius@trolltech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.