builtin/blame.c: Fix a "Using plain integer as NULL pointer" warning
[gitweb.git] / builtin / fast-export.c
index 08fed989a4a611def523aa69a642bc8559bd3f2f..19509ea75485083b40d6c7944541a5f628b6049b 100644 (file)
@@ -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()
        };