summaryrefslogtreecommitdiff
path: root/builtin/clone.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-02-21 23:14:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-02-21 23:14:37 (GMT)
commitc7707a4354f36c59f3310d4edfb18377c064220e (patch)
treee77a6031b8e1f5b700d334389a3235313d4d642f /builtin/clone.c
parent0cfba96121b9617668a7b4ad18e3ae3a19dc8755 (diff)
parent01fdc21f6e90f56fc5a49cbba751d9ead19b2f03 (diff)
downloadgit-c7707a4354f36c59f3310d4edfb18377c064220e.zip
git-c7707a4354f36c59f3310d4edfb18377c064220e.tar.gz
git-c7707a4354f36c59f3310d4edfb18377c064220e.tar.bz2
Merge branch 'cb/transfer-no-progress' into maint
* cb/transfer-no-progress: push/fetch/clone --no-progress suppresses progress output
Diffstat (limited to 'builtin/clone.c')
-rw-r--r--builtin/clone.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/clone.c b/builtin/clone.c
index df8ae75..0fb5956 100644
--- a/builtin/clone.c
+++ b/builtin/clone.c
@@ -45,7 +45,7 @@ static char *option_branch = NULL;
static const char *real_git_dir;
static char *option_upload_pack = "git-upload-pack";
static int option_verbosity;
-static int option_progress;
+static int option_progress = -1;
static struct string_list option_config;
static struct string_list option_reference;
@@ -60,8 +60,8 @@ static int opt_parse_reference(const struct option *opt, const char *arg, int un
static struct option builtin_clone_options[] = {
OPT__VERBOSITY(&option_verbosity),
- OPT_BOOLEAN(0, "progress", &option_progress,
- "force progress reporting"),
+ OPT_BOOL(0, "progress", &option_progress,
+ "force progress reporting"),
OPT_BOOLEAN('n', "no-checkout", &option_no_checkout,
"don't create a checkout"),
OPT_BOOLEAN(0, "bare", &option_bare, "create a bare repository"),