handle_duplicate(): mark error message for translation

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Michael Haggerty 2013-10-30 06:33:11 +01:00 committed by Junio C Hamano
parent df02ebdac8
commit 76ea6717fe

View File

@ -748,7 +748,7 @@ int for_each_remote(each_remote_fn fn, void *priv)
static void handle_duplicate(struct ref *ref1, struct ref *ref2)
{
if (strcmp(ref1->name, ref2->name))
die("%s tracks both %s and %s",
die(_("%s tracks both %s and %s"),
ref2->peer_ref->name, ref1->name, ref2->name);
free(ref2->peer_ref);
free(ref2);