adafruit / Adafruit-Pi-Kernel-o-Matic

https://learn.adafruit.com/raspberry-pi-kernel-o-matic
94 stars 16 forks source link

Modified "git clone" command line to permit correct --depth 1 cloning when the user specifies a non-default branch to the script. #15

Closed andrewsil1 closed 9 years ago

andrewsil1 commented 9 years ago

This change should address the issue I opened yesterday. The current version of the script does a --depth 1 clone of the default branch. If the user specifies an alternate branch from the default Raspi linux repo (e.g. rpi-3.19.y, etc.) the pruned clone will throw an error when the script later tries to check out the branch. Adding the parameter to the clone command ensures that the requested branch is what is cloned in the first place.

toddtreece commented 9 years ago

fixed by 9cdcf2313ca30618b10188bed2f55ab22ef83b1f

see #14 for additional info. thanks for the bug report!