зеркало из https://github.com/microsoft/git.git
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>
This commit is contained in:
Родитель
af6b65d45e
Коммит
f649aaaf82
|
@ -2157,7 +2157,7 @@ static int handle_revision_opt(struct rev_info *revs, int argc, const char **arg
|
||||||
} else if (!strcmp(arg, "--unpacked")) {
|
} else if (!strcmp(arg, "--unpacked")) {
|
||||||
revs->unpacked = 1;
|
revs->unpacked = 1;
|
||||||
} else if (starts_with(arg, "--unpacked=")) {
|
} else if (starts_with(arg, "--unpacked=")) {
|
||||||
die("--unpacked=<packfile> no longer supported.");
|
die(_("--unpacked=<packfile> no longer supported"));
|
||||||
} else if (!strcmp(arg, "-r")) {
|
} else if (!strcmp(arg, "-r")) {
|
||||||
revs->diff = 1;
|
revs->diff = 1;
|
||||||
revs->diffopt.flags.recursive = 1;
|
revs->diffopt.flags.recursive = 1;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче