Re: [PATCH 04/10] i18n: standardize "cannot open" and "cannot read"
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Dec 7, 2021, 18:09 UTC
- Message-ID
- <211207.867dcgnv6e.gmgdl@evledraar.gmail.com>
- In-Reply-To
- <d408cecc85fad1177676c1cb404c0dd0b0a8fbb6.1638514910.git.gitgitgadget@gmail.com>
On Fri, Dec 03 2021, Jean-Noël Avila via GitGitGadget wrote:
Show 18 quoted lines
> From: =?UTF-8?q?Jean-No=C3=ABl=20Avila?= <jn.avila@free.fr>
>
> Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
> ---
> archive.c | 4 ++--
> builtin/fetch.c | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/archive.c b/archive.c
> index 10376be7161..f1208beacff 100644
> --- a/archive.c
> +++ b/archive.c
> @@ -185,7 +185,7 @@ static int write_archive_entry(const struct object_id *oid, const char *base,
>
> buffer = object_file_to_archive(args, path.buf, oid, mode, &type, &size);
> if (!buffer)
> - return error(_("cannot read %s"), oid_to_hex(oid));
> + return error(_("cannot read '%s'"), oid_to_hex(oid));Re my just-sent comment, i.e. quote things like that, but between this and the first patch there's a bunch that don't use quotes that could use them...