git_repository: add missing args to doc string
Change-Id: Id898aafaf1a5dec16e5639f50981c1051caa70eb
PiperOrigin-RevId: 185390071
diff --git a/tools/build_defs/repo/git.bzl b/tools/build_defs/repo/git.bzl
index bd162b4..020b3ac 100644
--- a/tools/build_defs/repo/git.bzl
+++ b/tools/build_defs/repo/git.bzl
@@ -119,6 +119,11 @@
build_file_content: The content for the BUILD file for this repository.
Either build_file or build_file_content must be specified.
+ tag: tag in the remote repository to checked out
+
+ commit: specific commit to be checked out
+ Either tag or commit must be specified.
+
init_submodules: Whether to clone submodules in the repository.
remote: The URI of the remote Git repository.
@@ -142,5 +147,11 @@
remote: The URI of the remote Git repository.
+ tag: tag in the remote repository to checked out
+
+ commit: specific commit to be checked out
+ Either tag or commit must be specified.
+
+
strip_prefix: A directory prefix to strip from the extracted files.
"""