diff options
author | Klaus Aehlig <aehlig@google.com> | 2018-05-24 02:59:03 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-05-24 03:00:13 -0700 |
commit | 7458a5f5415f8d3e71a29a2c0b8338296c111c6c (patch) | |
tree | 0064aa8131039e647aafd971727d562d9580560b /scripts | |
parent | c1fc17a67e78625415620ddb4ff5696d37e6e291 (diff) |
git.bzl: fall back to full clone if shallow options are not supported
The `--shallow-since` option of git was introduced only in version 2.11 of git. However,
some widely used distributions ship older versions of git. So fall back to fully cloning
or fetching a repository if the respective shallow option is not know to the ambient git
command used.
Change-Id: I8f0aa0a12e294ff9cc8325975bd9333f6bf50939
PiperOrigin-RevId: 197863797
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions