Change information
Commit message:
Automated rollback of commit b2fe084e5a88983d79611041dfa7940d5b4ee482.
*** Reason for rollback ***
https://github.com/bazelbuild/bazel/commit/6728e381752f49171c1fa8419c37cae2875816ad
*** Original change description ***
Make PathFragmentPrefixTrie case-aware for case-insensitive OS
On Windows (and other case-insensitive filesystems), PathFragmentPrefixTrie
matching failed when query paths were case-normalized (e.g. by SkyKeyInterner)
but the trie was constructed with non-normalized paths (e.g. from user config).
This change:
- Adds `isCaseSensitive()` to `OsPathPolicy` to query host filesystem behavior.
- Updates `PathFragmentPrefixTrie` to optionally support case-insensitive matching (defaulting to host OS p...
***
PiperOrigin-RevId: 923449478
Change-Id: Iebb36554227e85798ff91dc42d43de1451ad9385
Files:
- M src/main/java/com/google/devtools/build/lib/collect/BUILD
- M src/main/java/com/google/devtools/build/lib/collect/PathFragmentPrefixTrie.java
- M src/main/java/com/google/devtools/build/lib/vfs/OsPathPolicy.java
- M src/main/java/com/google/devtools/build/lib/vfs/UnixOsPathPolicy.java
- M src/main/java/com/google/devtools/build/lib/vfs/WindowsOsPathPolicy.java
- M src/test/java/com/google/devtools/build/lib/collect/PathFragmentPrefixTrieTest.java
- M src/test/java/com/google/devtools/build/lib/skyframe/serialization/analysis/BUILD
Change size: M
Delta: 7 files changed, 9 insertions(+), 50 deletions(-)
Branch: refs/heads/master