Re: [PATCH] revision: fix die() message for "--unpacked="
Sergey Organov <sorganov@gmail.com> writes:
Show 20 quoted lines
> Get rid of the trailing dot and mark for translation.
>
> Signed-off-by: Sergey Organov <sorganov@gmail.com>
> ---
> revision.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/revision.c b/revision.c
> index 669bc856694f..d08cb5c0e9cd 100644
> --- a/revision.c
> +++ b/revision.c
> @@ -2315,7 +2315,7 @@ static int handle_revision_opt(struct rev_info *revs, int argc, const char **arg
> } else if (!strcmp(arg, "--unpacked")) {
> revs->unpacked = 1;
> } else if (starts_with(arg, "--unpacked=")) {
> - die("--unpacked=<packfile> no longer supported.");
> + die(_("--unpacked=<packfile> no longer supported"));
> } else if (!strcmp(arg, "-r")) {
> revs->diff = 1;
> revs->diffopt.flags.recursive = 1;Makes sense. Will queue. thanks.