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.
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.