Re: [PATCH] transport-helper.c: do not translate a string twice

2018-11-28 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy   writes:

> Signed-off-by: Nguyễn Thái Ngọc Duy 
> ---
>  My bad.
>
>  transport-helper.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/transport-helper.c b/transport-helper.c
> index 7213fa0d32..bf225c698f 100644
> --- a/transport-helper.c
> +++ b/transport-helper.c
> @@ -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.


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

2018-11-26 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy 
---
 My bad.

 transport-helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/transport-helper.c b/transport-helper.c
index 7213fa0d32..bf225c698f 100644
--- a/transport-helper.c
+++ b/transport-helper.c
@@ -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);
}
 
-- 
2.19.1.1327.g328c130451.dirty