Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-imap-send: Support SSL
[gitweb.git]
/
builtin-clone.c
diff --git
a/builtin-clone.c
b/builtin-clone.c
index 352224591f3be1eaff858b1fe10dac8f852f32c2..e086a40b41810c30a4f5228daa4e38857dae84d5 100644
(file)
--- a/
builtin-clone.c
+++ b/
builtin-clone.c
@@
-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);
}