# [PATCH] stash: add missing space to an error message

2 messages from 2020-11-24 to 2020-11-24. Participants: Kyle Meyer, Junio C Hamano.
Thread: https://gitlist.dev/t/54698

## Kyle Meyer, 2020-11-24 00:52

Subject: [PATCH] stash: add missing space to an error message
Message-ID: <20201124005212.13780-1-kyle@kyleam.com>
URL: https://gitlist.dev/e/20201124005212.13780-1-kyle%40kyleam.com

```
Restore a space that was lost in 8a0fc8d19d (stash: convert apply to
builtin, 2019-02-25).

Signed-off-by: Kyle Meyer <kyle@kyleam.com>
---
 builtin/stash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builtin/stash.c b/builtin/stash.c
index 24ddb1bffa..e1f8235fdd 100644
--- a/builtin/stash.c
+++ b/builtin/stash.c
@@ -419,7 +419,7 @@ static int do_apply_stash(const char *prefix, struct stash_info *info,
 			ret = apply_cached(&out);
 			strbuf_release(&out);
 			if (ret)
-				return error(_("conflicts in index."
+				return error(_("conflicts in index. "
 					       "Try without --index."));
 
 			discard_cache();

base-commit: b291b0a628020eedb10b6236d87fe25d295cea81
-- 
2.29.2


```

## Junio C Hamano, 2020-11-24 20:55

Subject: Re: [PATCH] stash: add missing space to an error message
Message-ID: <xmqq4klejwyy.fsf@gitster.c.googlers.com>
URL: https://gitlist.dev/e/xmqq4klejwyy.fsf%40gitster.c.googlers.com
In-Reply-To: <20201124005212.13780-1-kyle@kyleam.com>

```
Kyle Meyer <kyle@kyleam.com> writes:

> Restore a space that was lost in 8a0fc8d19d (stash: convert apply to
> builtin, 2019-02-25).
>
> Signed-off-by: Kyle Meyer <kyle@kyleam.com>
> ---

Makes sense.  Thanks.

>  builtin/stash.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/builtin/stash.c b/builtin/stash.c
> index 24ddb1bffa..e1f8235fdd 100644
> --- a/builtin/stash.c
> +++ b/builtin/stash.c
> @@ -419,7 +419,7 @@ static int do_apply_stash(const char *prefix, struct stash_info *info,
>  			ret = apply_cached(&out);
>  			strbuf_release(&out);
>  			if (ret)
> -				return error(_("conflicts in index."
> +				return error(_("conflicts in index. "
>  					       "Try without --index."));
>  
>  			discard_cache();
>
> base-commit: b291b0a628020eedb10b6236d87fe25d295cea81

```
