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

Message ID 20181126195756.15537-1-pclouds@gmail.com
State New
Headers show
Series
  • transport-helper.c: do not translate a string twice
Related show

Commit Message

Duy Nguyen Nov. 26, 2018, 7:57 p.m. UTC
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 My bad.

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

Comments

Junio C Hamano Nov. 29, 2018, 6:30 a.m. UTC | #1
Nguyễn Thái Ngọc Duy  <pclouds@gmail.com> writes:

> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
> ---
>  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
diff mbox series

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);
 	}