Resolution: Won't Fix
There is a need for a "More advanced clone behaviors"
The current "Advanced clone behaviours" takes us just part of the way when needing to configure the clone operation.
There are a lot of options on git clone that is not possible to set.
We currently have the need to do a shallow clone, but need to include all branches. Meaning that we want to add the --no-single-branch option.
We cannot see any other way of achieving this right now.
I assume this request will solve
JENKINS-61109 and similar issues as well.