aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/GitRepositoryRule.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/GitRepositoryRule.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/GitRepositoryRule.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/GitRepositoryRule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/GitRepositoryRule.java
index d0e4371b1e..242eca0b5e 100644
--- a/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/GitRepositoryRule.java
+++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/GitRepositoryRule.java
@@ -35,28 +35,24 @@ public class GitRepositoryRule implements RuleDefinition {
return builder
/* <!-- #BLAZE_RULE(git_repository).ATTRIBUTE(remote) -->
The URI of the remote Git repository.
- ${SYNOPSIS}
<p>This must be a HTTP URL. There is currently no support for authentication.</p>
<!-- #END_BLAZE_RULE.ATTRIBUTE --> */
.add(attr("remote", STRING).mandatory())
/* <!-- #BLAZE_RULE(git_repository).ATTRIBUTE(commit) -->
The commit hash to check out in the repository.
- ${SYNOPSIS}
<p>Note that one of either <code>commit</code> or <code>tag</code> must be defined.</p>
<!-- #END_BLAZE_RULE.ATTRIBUTE --> */
.add(attr("commit", STRING))
/* <!-- #BLAZE_RULE(git_repository).ATTRIBUTE(tag) -->
The Git tag to check out in the repository.
- ${SYNOPSIS}
<p>Note that one of either <code>commit</code> or <code>tag</code> must be defined.</p>
<!-- #END_BLAZE_RULE.ATTRIBUTE --> */
.add(attr("tag", STRING))
/* <!-- #BLAZE_RULE(git_repository).ATTRIBUTE(init_submodules) -->
Whether to clone submodules in the repository.
- ${SYNOPSIS}
<p>Currently, only cloning the top-level submodules is supported</p>
<!-- #END_BLAZE_RULE.ATTRIBUTE --> */