mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
Merge branch 'so/rev-parser-errormessage-fix'
Error message fix. * so/rev-parser-errormessage-fix: revision: fix die() message for "--unpacked="
This commit is contained in:
commit
abde3d39ec
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue