diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-03-01 20:59:31 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-01 20:59:31 -0800 |
commit | 66b8800e53b20cda13446b462531641884089a77 (patch) | |
tree | 53ef62b1b878ee340809499296fdad4a898f3db3 /builtin/fast-export.c | |
parent | 260eb7e38966bdad79aae2e125c9a07b19abd0f8 (diff) | |
parent | cbb08c2e0b41ab162838aa1e83b959bac91151e2 (diff) | |
download | git-66b8800e53b20cda13446b462531641884089a77.tar.gz git-66b8800e53b20cda13446b462531641884089a77.tar.xz |
Merge branch 'rs/no-no-no-parseopt'
* rs/no-no-no-parseopt:
parse-options: remove PARSE_OPT_NEGHELP
parse-options: allow positivation of options starting, with no-
test-parse-options: convert to OPT_BOOL()
Conflicts:
builtin/grep.c
Diffstat (limited to 'builtin/fast-export.c')
-rw-r--r-- | builtin/fast-export.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/builtin/fast-export.c b/builtin/fast-export.c index 08fed989a..19509ea75 100644 --- a/builtin/fast-export.c +++ b/builtin/fast-export.c @@ -647,9 +647,7 @@ int cmd_fast_export(int argc, const char **argv, const char *prefix) "Output full tree for each commit"), OPT_BOOLEAN(0, "use-done-feature", &use_done_feature, "Use the done feature to terminate the stream"), - { OPTION_NEGBIT, 0, "data", &no_data, NULL, - "Skip output of blob data", - PARSE_OPT_NOARG | PARSE_OPT_NEGHELP, NULL, 1 }, + OPT_BOOL(0, "no-data", &no_data, "Skip output of blob data"), OPT_END() }; |