Add stateless RPC options to upload-pack, receive-pack
[gitweb.git] / builtin-fetch.c
index cb48c57ca3e66b7ec39a98128b2cfb058c2dad15..52a9a42fa52948c1ab04a6965a3814d287949740 100644 (file)
@@ -665,7 +665,7 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
 
        transport = transport_get(remote, remote->url[0]);
        if (verbosity >= 2)
-               transport->verbose = 1;
+               transport->verbose = verbosity <= 3 ? verbosity : 3;
        if (verbosity < 0)
                transport->verbose = -1;
        if (upload_pack)