mirror of
https://github.com/git/git.git
synced 2024-11-23 18:05:29 +08:00
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:
parent
df02ebdac8
commit
76ea6717fe
2
remote.c
2
remote.c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user