Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
commit,status: describe --porcelain just like push
author
Michael J Gruber
<git@drmicha.warpmail.net>
Tue, 15 Feb 2011 13:09:05 +0000
(14:09 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 15 Feb 2011 18:51:08 +0000
(10:51 -0800)
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>
builtin/commit.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
726c4e3
)
diff --git
a/builtin/commit.c
b/builtin/commit.c
index 8a534de3cc962f2f843e4e442169f272f397a9dc..0245d9f2ce85bab0bd50d7e1e98fcd5f7a317afe 100644
(file)
--- a/
builtin/commit.c
+++ b/
builtin/commit.c
@@
-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,
STATUS_FORMAT_SHORT),
OPT_BOOLEAN(0, "branch", &status_show_branch, "show branch information"),
OPT_SET_INT(0, "porcelain", &status_format,
- "
show porcelain output forma
t", STATUS_FORMAT_PORCELAIN),
+ "
machine-readable outpu
t", STATUS_FORMAT_PORCELAIN),
OPT_BOOLEAN('z', "null", &null_termination,
"terminate entries with NUL"),
OPT_BOOLEAN(0, "amend", &amend, "amend previous commit"),
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,
OPT_BOOLEAN('b', "branch", &status_show_branch,
"show branch information"),
OPT_SET_INT(0, "porcelain", &status_format,
- "
show porcelain output forma
t",
+ "
machine-readable outpu
t",
STATUS_FORMAT_PORCELAIN),
OPT_BOOLEAN('z', "null", &null_termination,
"terminate entries with NUL"),
STATUS_FORMAT_PORCELAIN),
OPT_BOOLEAN('z', "null", &null_termination,
"terminate entries with NUL"),