Repository navigation
Conversation
tamird
marked this pull request as ready for review
July 17, 2026 01:14
Contributor
Author
|
@meteorcloudy could you please take a look? |
git_repository checks add_prefix containment with a raw string prefix. A normalized path can therefore select a sibling whose name shares the checkout-root prefix, and the worker deletes that sibling before fetching. Require a path-component boundary (or the root itself) and cover the destructive sibling case with a sentinel regression. Follow-up to bazelbuild#29453.
tamird
force-pushed
the
tamird/fix-git-repository-prefix
branch
from
August 21, 2026 15:10
adb63bd to
dfbb75b
Compare
|
✅ Bazel docs preview is ready! Preview URL: https://bazel-pr-30309.mintlify.app/ Updated for |
meteorcloudy
approved these changes
Aug 24, 2026
deepalak56
pushed a commit
to deepalak56/bazel_deepa
that referenced
this pull request
Dec 1, 2026
git_repository checks add_prefix containment with a raw string prefix. A normalized path can therefore select a sibling whose name shares the checkout-root prefix, and the worker deletes that sibling before fetching. Require a path-component boundary (or the root itself) and cover the destructive sibling case with a sentinel regression. Follow-up to bazelbuild#29453. Closes bazelbuild#30309. PiperOrigin-RevId: 969773896 Change-Id: I7e9fbd29625c4c8c3ec3e056c13745cdfefe929c
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
git_repository checks add_prefix containment with a raw string prefix.
A normalized path can therefore select a sibling whose name shares the
checkout-root prefix, and the worker deletes that sibling before
fetching.
Require a path-component boundary (or the root itself) and cover the
destructive sibling case with a sentinel regression.
Follow-up to #29453.