From: Sergey Organov Date: Tue, 4 Aug 2020 22:26:30 +0000 (+0300) Subject: revision: fix die() message for "--unpacked=" X-Git-Tag: v2.29.0-rc0~181^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f649aaaf8227c7ad2cfd91ae0e166cf40e2cd049;p=thirdparty%2Fgit.git revision: fix die() message for "--unpacked=" Get rid of the trailing dot and mark for translation. Signed-off-by: Sergey Organov Signed-off-by: Junio C Hamano --- diff --git a/revision.c b/revision.c index 8136929e23..9172eb2480 100644 --- a/revision.c +++ b/revision.c @@ -2157,7 +2157,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= no longer supported."); + die(_("--unpacked= no longer supported")); } else if (!strcmp(arg, "-r")) { revs->diff = 1; revs->diffopt.flags.recursive = 1;