mirror of https://github.com/databricks/cli.git
2c58deb2c5
## Changes Git repos hosted over HTTP do not support shallow cloning. This PR adds retry logic if we detect shallow cloning is not supported. Note I saw the match string `dumb http transport does not support shallow capabilities` being reported in for different hosts on the internet, so this should work accross a large class of git servers. Howerver, it's not strictly necessary to have the `--depth` flag so we can remove it if this issue is reported again. ## Tests Tested manually. `bundle init` successfully downloads the private HTTP repo reported during by internal user. |
||
---|---|---|
.. | ||
testdata | ||
testdata_view_ignore | ||
clone.go | ||
clone_test.go | ||
config.go | ||
config_test.go | ||
fileset.go | ||
fileset_test.go | ||
ignore.go | ||
ignore_test.go | ||
reference.go | ||
reference_test.go | ||
repository.go | ||
repository_test.go | ||
utils.go | ||
utils_test.go | ||
view.go | ||
view_test.go |