using the --branch parameter doesn't really pose an issue on trunk being somewhat "broken". I just re-ran the command and had no issue on a clean system (with or without --shallow-submodules) I'd say it's a relatively old git subsystem the part to blame here.
BTW: that is the "way" to save bandwith if you are fetching the code over and over to provision new servers. With old "git", nothing prevents to avoid using --depth (which I **think** it's the problem with old git versions) and just using the "full" repo (web2py, for example, weigths 35MB total vs 7MB with depth 1) OR just using a base repo and issue git checkout tags/R-x.y.z git submodule update to navigate back and forth. On Monday, August 8, 2016 at 3:39:24 PM UTC+2, Richard wrote: > > Maybe trunk is broken... > > On Sun, Aug 7, 2016 at 12:25 AM, bunnyhero <[email protected] > <javascript:>> wrote: > >> I just tried >> >> git clone --depth=1 --branch=R-2.14.6 --recursive >> --shallow-submodules https://github.com/web2py/web2py.git >> >> and I got this error: >> >> error: no such remote ref 60e97e7cfd1da98f3cf38b2023965226d42e5e5b >> Fetched in submodule path 'gluon/packages/dal', but it did not >> contain 60e97e7cfd1da98f3cf38b2023965226d42e5e5b. Direct fetching of that >> commit failed. >> >> Also tried it without --shallow-submodules but got the same result. >> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

