<div dir="ltr">Ah, thanks for the correction. In that case, we should probably try a shallow clone first, then fall back to a non-shallow clone :).</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 11, 2017 at 7:41 PM, Shengjing Zhu <span dir="ltr"><<a href="mailto:i@zhsj.me" target="_blank">i@zhsj.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Aug 11, 2017 at 9:55 PM, Michael Stapelberg<br>
<<a href="mailto:stapelberg@debian.org">stapelberg@debian.org</a>> wrote:<br>
> I think the git HTTP transport does never allow shallow clones. You can use<br>
> the git transport protocol (also with GitHub), but note that the git<br>
> transport protocol is not authenticated (whereas https is, of course).<br>
><br>
<br>
</span>Only dumb http server doesn't support shallow clone.<br>
The smart http protocol supports, like `git clone --depth=1<br>
<a href="https://github.com/xxx`" rel="noreferrer" target="_blank">https://github.com/xxx`</a><br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Best regards,<br>
Shengjing Zhu<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Best regards,<br>Michael</div>
</div>