| commit | 4f133090e80baa9c8e0d7e7e029d3ce0fb7f1f3f | [log] [tgz] |
|---|---|---|
| author | Klaus Aehlig <aehlig@google.com> | Fri May 31 08:43:08 2019 -0700 |
| committer | Copybara-Service <copybara-worker@google.com> | Fri May 31 08:43:56 2019 -0700 |
| tree | 01b0c66345bd7d2a4f91559926fc82a48fc5b0c9 | |
| parent | 369fa97bb89ad6f2deeec95a1389970f3d22fd99 [diff] |
git.bzl: correctly quote shallow_since ...while still accepting that the parameter might be missing; in the latter case, an empty argument was added, causing that invocation of git to fail. Note, however, that the problem is of purely aesthetic nature, as - the empty argument would only be added if no information about shallow cloning can is available - upon error, a retry without the shallow information would be made anyway to support older versions of git. Nevertheless, let's not call processes in a way we know is bound to fail; do this by moving the necessary quoting to the definition of the "shallow" variable, rather than at its interpolation into the shell command. Fixes #8384. Change-Id: Id47e2c511678018c48686ec17ab03a59486bcb84 PiperOrigin-RevId: 250891894
{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.