Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
smart-http: support shallow fetch/clone
[gitweb.git]
/
builtin
/
clone.c
diff --git
a/builtin/clone.c
b/builtin/clone.c
index 900f56476ad9089ed2edb8ffc0b24cd7a11cf7af..0b182cefc24f3ee790cb63a944cb98eb3b7a6206 100644
(file)
--- a/
builtin/clone.c
+++ b/
builtin/clone.c
@@
-889,6
+889,7
@@
int cmd_clone(int argc, const char **argv, const char *prefix)
remote = remote_get(option_origin);
transport = transport_get(remote, remote->url[0]);
+ transport->cloning = 1;
if (!transport->get_refs_list || (!is_local && !transport->fetch))
die(_("Don't know how to clone %s"), transport->url);