X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fpush.c;h=6c373cf28bfc9d8409014d84eef5b886218b25ab;hb=8c80ff362f1f4e586a37fba8e6dc83eee67aa2b5;hp=35cce532f2bb632e01c0de0a8e6f9e1395eece88;hpb=a95750c4e8f78eb89c277abd41f05be58715314f;p=git.git diff --git a/builtin/push.c b/builtin/push.c index 35cce532f..6c373cf28 100644 --- a/builtin/push.c +++ b/builtin/push.c @@ -19,7 +19,7 @@ static int thin; static int deleterefs; static const char *receivepack; static int verbosity; -static int progress; +static int progress = -1; static const char **refspec; static int refspec_nr; @@ -260,7 +260,7 @@ int cmd_push(int argc, const char **argv, const char *prefix) OPT_STRING( 0 , "exec", &receivepack, "receive-pack", "receive pack program"), OPT_BIT('u', "set-upstream", &flags, "set upstream for git pull/status", TRANSPORT_PUSH_SET_UPSTREAM), - OPT_BOOLEAN(0, "progress", &progress, "force progress reporting"), + OPT_BOOL(0, "progress", &progress, "force progress reporting"), OPT_END() };