[Buildroot] [RFC v2 4/4] support/download/git: shallow fetch of all branches

Ricardo Martincoski ricardo.martincoski at datacom.ind.br
Tue Dec 6 19:30:06 UTC 2016


Brandon,

Thank you for your tests.

On December 6, 2016 3:13:08 PM, Brandon Maier wrote:
>> As a middle ground between a --depth 1 fetch and a full clone, fetch all 
>> branches with depth of 100. We have a good change to catch the desired 
>
>Should this be "good chance"? 

Yes.


>Also, is there any particular reason for depth 100? 

No particular reason. It was only a guess.


>> ... 
>> + # As a middle ground between a --depth 1 fetch and a full fetch, fetch all 
>> + # branches with depth of 100. We have a good change to catch the desired 
>
> Again, "good chance"? 

Yes.


> Altogether good idea Ricardio, I like the "--depth 100" feature. This will be helpful for our team as well.

Actually it was not my idea, Arnout suggested the feature at
http://patchwork.ozlabs.org/patch/690098/


Regards,
Ricardo Martincoski


More information about the buildroot mailing list