summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Sergey Organov <sorganov@gmail.com>2020-08-05 01:26:30 +0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-08-04 17:01:37 -0700
commitf649aaaf8227c7ad2cfd91ae0e166cf40e2cd049 (patch)
treeb01ad2aa3a83b8bf68ca14e516fb2bb187ab8899
parentGit 2.26.2 (diff)
downloadtgif-f649aaaf8227c7ad2cfd91ae0e166cf40e2cd049.tar.xz
revision: fix die() message for "--unpacked="
Get rid of the trailing dot and mark for translation. Signed-off-by: Sergey Organov <sorganov@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--revision.c2
1 files changed, 1 insertions, 1 deletions
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=<packfile> no longer supported.");
+ die(_("--unpacked=<packfile> no longer supported"));
} else if (!strcmp(arg, "-r")) {
revs->diff = 1;
revs->diffopt.flags.recursive = 1;