Add a flag to specify the depth to which to clone repos. (#458)
Add a flag to specify the depth to which to clone repos. (#458)

* The default was (recently?) changed to clone with a depth of 2.

* However, if we want to compute when a file was last modified as when
continuously building our docker images (kubeflow/kueflow#3829) then we need
more of the history

* Add a flag --depth which allows specifying the history. To clone in full
  use --depth=all
kubeflow/testing,kubeflow/testing,kubeflow/testing,kubeflow/testing,kubeflow/testing