diff options
author | Tom Scogland <scogland1@llnl.gov> | 2015-07-27 14:03:04 -0700 |
---|---|---|
committer | Tom Scogland <scogland1@llnl.gov> | 2015-07-27 14:03:04 -0700 |
commit | 9174c06598609241c1e6d66785e7aaeeb91e98a2 (patch) | |
tree | f88b18b4cb97e95d4019eb401db4b5c864190a94 /var | |
parent | 27ca697b43458c76fd7e079c2a6395fbb5b6126e (diff) | |
download | spack-9174c06598609241c1e6d66785e7aaeeb91e98a2.tar.gz spack-9174c06598609241c1e6d66785e7aaeeb91e98a2.tar.bz2 spack-9174c06598609241c1e6d66785e7aaeeb91e98a2.tar.xz spack-9174c06598609241c1e6d66785e7aaeeb91e98a2.zip |
adding a fallback on failure with git --depth
Certain remote protocols don't support the `--depth` option. Since this can't
be checked by URL type or in any sane way locally, this version attempts to
clone git repositories with the --depth option, and if that fails attempts the
clone again without it.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions