X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=builtin-gc.c;h=c304638b7845601f184149d3c48cbc1ea1e195f5;hb=547e8b9205349b47003ed25a82673e413e71c255;hp=093517e390044055039b9f4e58132c73d17b741d;hpb=b7380fa7a9adb52860eef7e8885fb8bc179beae1;p=thirdparty%2Fgit.git diff --git a/builtin-gc.c b/builtin-gc.c index 093517e390..c304638b78 100644 --- a/builtin-gc.c +++ b/builtin-gc.c @@ -180,12 +180,12 @@ int cmd_gc(int argc, const char **argv, const char *prefix) char buf[80]; struct option builtin_gc_options[] = { + OPT__QUIET(&quiet), { OPTION_STRING, 0, "prune", &prune_expire, "date", "prune unreferenced objects", PARSE_OPT_OPTARG, NULL, (intptr_t)prune_expire }, OPT_BOOLEAN(0, "aggressive", &aggressive, "be more thorough (increased runtime)"), OPT_BOOLEAN(0, "auto", &auto_gc, "enable auto-gc mode"), - OPT_BOOLEAN('q', "quiet", &quiet, "suppress progress reports"), OPT_END() };