Skip to contentSkip to conversation

transport-helper.c: do not translate a string twice

PATCH In review Nguyễn Thái Ngọc Duy 2 participants 2 messages Nov 26, 2018 – Nov 29, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 transport-helper.c: do not translate a string twice

---
My bad.

 transport-helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
transport-helper.c +1 -1
index 7213fa0d32..bf225c698f 100644
@@ -573,7 +573,7 @@ static int run_connect(struct transport *transport, struct strbuf *cmdbuf)
 			fprintf(stderr, "Debug: Falling back to dumb "
 				"transport.\n");
 	} else {
-		die(_(_("unknown response to connect: %s")),
+		die(_("unknown response to connect: %s"),
 		    cmdbuf->buf);
 	}
 
Signature · 1 line
2.19.1.1327.g328c130451.dirty
#1 lore raw
Quoted 12 lines · Nguyễn Thái Ngọc Duy

---
My bad.

 transport-helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
transport-helper.c +0 -0
index 7213fa0d32..bf225c698f 100644

transport-helper.c static int run_connect(struct transport *transport, struct strbuf *cmdbuf) · line 577

Quoted 6 lines
transport-helper.c +1 -1
@@ -573,7 +573,7 @@ static int run_connect(struct transport *transport, struct strbuf *cmdbuf)
 			fprintf(stderr, "Debug: Falling back to dumb "
 				"transport.\n");
 	} else {
-		die(_(_("unknown response to connect: %s")),
+		die(_("unknown response to connect: %s"),
 		    cmdbuf->buf);

Thanks.