Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
cat-file: minor style fix in options list
author
Jeff King
<peff@peff.net>
Mon, 22 Jun 2015 10:40:56 +0000
(06:40 -0400)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 22 Jun 2015 21:55:52 +0000
(14:55 -0700)
We do not put extra whitespace before the first macro
argument.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/cat-file.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (from parent 1:
b4d6280
)
diff --git
a/builtin/cat-file.c
b/builtin/cat-file.c
index 049a95f1f113289a1a01f74a2485d1e9b282209f..6cbccccb416238cc5a6839d7af57149a84408e20 100644
(file)
--- a/
builtin/cat-file.c
+++ b/
builtin/cat-file.c
@@
-412,7
+412,7
@@
int cmd_cat_file(int argc, const char **argv, const char *prefix)
OPT_CMDMODE('p', NULL, &opt, N_("pretty-print object's content"), 'p'),
OPT_CMDMODE(0, "textconv", &opt,
N_("for blob objects, run textconv on object's content"), 'c'),
OPT_CMDMODE('p', NULL, &opt, N_("pretty-print object's content"), 'p'),
OPT_CMDMODE(0, "textconv", &opt,
N_("for blob objects, run textconv on object's content"), 'c'),
- OPT_BOOL(
0, "allow-unknown-type", &unknown_type,
+ OPT_BOOL(0, "allow-unknown-type", &unknown_type,
N_("allow -s and -t to work with broken/corrupt objects")),
{ OPTION_CALLBACK, 0, "batch", &batch, "format",
N_("show info and content of objects fed from the standard input"),
N_("allow -s and -t to work with broken/corrupt objects")),
{ OPTION_CALLBACK, 0, "batch", &batch, "format",
N_("show info and content of objects fed from the standard input"),