threads / patch / 47319

patchsubmodule--helper.c: i18n: add a missing space in message

Subject: [PATCH] submodule--helper.c: i18n: add a missing space in message

## tl;dr

3 messages between Nov 25, 2017 and Nov 26, 2017. Diffs are folded; open one to read it.

replies: 2people: 3as markdown or json

Jean-Noel Avila· Nov 25, 2017, 19:55 UTC · lore

The message spans over 2 lines but the C conconcatenation does not add the needed space between the two lines.

Signed-off-by: Jean-Noel Avila <jn.avila@free.fr>
---
 builtin/submodule--helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to builtin/submodule--helper.c +1 −1
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
index 2086f0eb0..a5c4a8a69 100644
--- a/builtin/submodule--helper.c
+++ b/builtin/submodule--helper.c
@@ -623,7 +623,7 @@ static void status_submodule(const char *path, const struct object_id *ce_oid,
 
 		if (refs_head_ref(get_submodule_ref_store(path),
 				  handle_submodule_head_ref, &oid))
-			die(_("could not resolve HEAD ref inside the"
+			die(_("could not resolve HEAD ref inside the "
 			      "submodule '%s'"), path);
 
 		print_status(flags, '+', path, &oid, displaypath);
-- 
2.15.0
Eric Sunshine· Nov 25, 2017, 23:51 UTC · re: Jean-Noel Avila · lore

Re: [PATCH] submodule--helper.c: i18n: add a missing space in message

On Sat, Nov 25, 2017 at 2:55 PM, Jean-Noel Avila <jn.avila@free.fr> wrote:
> The message spans over 2 lines but the C conconcatenation does not add
s/conconcatenation/concatenation/
Show 19 quoted lines
> the needed space between the two lines.
>
> Signed-off-by: Jean-Noel Avila <jn.avila@free.fr>
> ---
> diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
> index 2086f0eb0..a5c4a8a69 100644
> --- a/builtin/submodule--helper.c
> +++ b/builtin/submodule--helper.c
> @@ -623,7 +623,7 @@ static void status_submodule(const char *path, const struct object_id *ce_oid,
>
>                 if (refs_head_ref(get_submodule_ref_store(path),
>                                   handle_submodule_head_ref, &oid))
> -                       die(_("could not resolve HEAD ref inside the"
> +                       die(_("could not resolve HEAD ref inside the "
>                               "submodule '%s'"), path);
>
>                 print_status(flags, '+', path, &oid, displaypath);
> --
> 2.15.0

← back to recent threads