git-am: Mention --abort in usage string part of OPTIONS_SPEC
[gitweb.git] / builtin-clone.c
index 352224591f3be1eaff858b1fe10dac8f852f32c2..e086a40b41810c30a4f5228daa4e38857dae84d5 100644 (file)
@@ -480,6 +480,10 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
                if (option_quiet)
                        transport->verbose = -1;
 
+               if (option_upload_pack)
+                       transport_set_option(transport, TRANS_OPT_UPLOADPACK,
+                                            option_upload_pack);
+
                refs = transport_get_remote_refs(transport);
                transport_fetch_refs(transport, refs);
        }