-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix using load statement on git_repository with strip_prefix
Prevent git_repository from creating directory outside of its repository root while implementing strip_prefix. Fixes #10062 Closes #12539. PiperOrigin-RevId: 344216891
- Loading branch information
1 parent
873b256
commit 11fe399
Showing
6 changed files
with
57 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
commit f8167a60de4460e89601724fb13b4fc505da3f3d (HEAD -> main) | ||
Author: Yun Peng <[email protected]> | ||
Date: Mon Nov 23 17:31:04 2020 +0100 | ||
|
||
First commit | ||
|
||
diff --git a/prefix-foo/BUILD b/prefix-foo/BUILD | ||
new file mode 100644 | ||
index 0000000..e69de29 | ||
diff --git a/prefix-foo/WORKSPACE b/prefix-foo/WORKSPACE | ||
new file mode 100644 | ||
index 0000000..e69de29 | ||
diff --git a/prefix-foo/defs.bzl b/prefix-foo/defs.bzl | ||
new file mode 100644 | ||
index 0000000..3563ad1 | ||
--- /dev/null | ||
+++ b/prefix-foo/defs.bzl | ||
@@ -0,0 +1 @@ | ||
+FOO=123 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters