commit | 7458a5f5415f8d3e71a29a2c0b8338296c111c6c | [log] [tgz] |
---|---|---|
author | Klaus Aehlig <aehlig@google.com> | Thu May 24 02:59:03 2018 -0700 |
committer | Copybara-Service <copybara-piper@google.com> | Thu May 24 03:00:13 2018 -0700 |
tree | 0064aa8131039e647aafd971727d562d9580560b | |
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
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.