[yocto] Yocto git repositories, shallow clone, uploadpack.allowReachableSHA1InWant
Craig McQueen
craig.mcqueen at innerrange.com
Thu Nov 9 18:03:05 PST 2017
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
More information about the yocto
mailing list