Jeff King <p...@peff.net> writes:

> On Wed, Aug 14, 2019 at 09:57:50AM +0000, Paolo Pettinato (ppettina) wrote:
>
>> Could not access submodule 'sm' # fails, plus no newline here :P!
>
> This part seems easy enough to fix.

Indeed, it is ;-)

> diff --git a/submodule.c b/submodule.c
> index 0f199c5137..a5ba57ac36 100644
> --- a/submodule.c
> +++ b/submodule.c
> @@ -1478,7 +1478,7 @@ static int get_next_submodule(struct child_process *cp,
>                           !is_empty_dir(ce->name)) {
>                               spf->result = 1;
>                               strbuf_addf(err,
> -                                         _("Could not access submodule 
> '%s'"),
> +                                         _("error: could not access 
> submodule '%s'\n"),
>                                           ce->name);
>                       }
>               }

Reply via email to