]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'so/rev-parser-errormessage-fix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 10 Aug 2020 17:24:03 +0000 (10:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Aug 2020 17:24:03 +0000 (10:24 -0700)
Error message fix.

* so/rev-parser-errormessage-fix:
  revision: fix die() message for "--unpacked="

revision.c

index 96a68077ed11ef1edaf758c6ad58b87ede8cee0c..3dcf689341d34f6647b0564ee2f84e11a4c9b3ff 100644 (file)
@@ -2335,7 +2335,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;