apache / mynewt-newt

An OS to build, deploy and securely manage billions of devices
https://mynewt.apache.org/
Apache License 2.0
117 stars 96 forks source link

Add '--no-single-branch' to shallow clone #581

Closed andrzej-kaczmarek closed 2 weeks ago

andrzej-kaczmarek commented 2 weeks ago

Shallow clone should still download all branches and tags to make sure we can find proper version.

This fixes regression introduced by 1dc2b53e as previously after shallow clone we still run fetch on newly cloned repo which updated branches and tags.