[yocto] Yocto git repositories, shallow clone, uploadpack.allowReachableSHA1InWant

Tim Orling timothy.t.orling at linux.intel.com
Thu Nov 9 19:56:06 PST 2017


Adding Michael Halstead.

> On Nov 9, 2017, at 6:03 PM, Craig McQueen <craig.mcqueen at innerrange.com> wrote:
> 
> I'm using git submodule to set up a Yocto build using the various layers required for my project. I see that recent git has the ability to specify that a submodule repository should be a "shallow" clone.
> 
> However, when I tried it with meta-mono, I got an error "server does not allow request for unadvertised object".
> 
> It appears that for such a shallow clone of a specified commit to work, the repository must enable uploadpack.allowReachableSHA1InWant.
> 
> Could this option be enabled for all Yocto git repositories? This would potentially save a lot of time and download bandwidth for everyone.
> 
> -- 
> Craig McQueen
> 
> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




More information about the yocto mailing list