зеркало из https://github.com/microsoft/git.git
commit,status: describe --porcelain just like push
Push has the clearer description, so take that one for all. Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
726c4e3d42
Коммит
ba9d7fe11c
|
@ -145,7 +145,7 @@ static struct option builtin_commit_options[] = {
|
|||
STATUS_FORMAT_SHORT),
|
||||
OPT_BOOLEAN(0, "branch", &status_show_branch, "show branch information"),
|
||||
OPT_SET_INT(0, "porcelain", &status_format,
|
||||
"show porcelain output format", STATUS_FORMAT_PORCELAIN),
|
||||
"machine-readable output", STATUS_FORMAT_PORCELAIN),
|
||||
OPT_BOOLEAN('z', "null", &null_termination,
|
||||
"terminate entries with NUL"),
|
||||
OPT_BOOLEAN(0, "amend", &amend, "amend previous commit"),
|
||||
|
@ -1092,7 +1092,7 @@ int cmd_status(int argc, const char **argv, const char *prefix)
|
|||
OPT_BOOLEAN('b', "branch", &status_show_branch,
|
||||
"show branch information"),
|
||||
OPT_SET_INT(0, "porcelain", &status_format,
|
||||
"show porcelain output format",
|
||||
"machine-readable output",
|
||||
STATUS_FORMAT_PORCELAIN),
|
||||
OPT_BOOLEAN('z', "null", &null_termination,
|
||||
"terminate entries with NUL"),
|
||||
|
|
Загрузка…
Ссылка в новой задаче