)]}'
{
  "commit": "8d7e8ff20ed08a8eedbdf03d6fabe717e621762f",
  "tree": "8c25a9d6b7bf5a4daee82d3dfe8a830cbe17b433",
  "parents": [
    "1bb1b52c9d452afccbf7ce046f4133b52d6cebf8"
  ],
  "author": {
    "name": "ajurkowski",
    "email": "ajurkowski@google.com",
    "time": "Wed Jan 13 11:10:22 2021 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Jan 13 11:11:17 2021 -0800"
  },
  "message": "Do not detect file names starting `..` as having up-level references.\n\n`PathFragment::containsUplevelReferences` detects whether a path has an\nup-level reference (`..`). The logic looks at the beginning of the normalized\npath whether it starts with a `..`. This is incorrect for path segments which\nhave a `..` prefix, but are not `..`, e.g. `..file`. This causes bazel to crash\nwhen we create a tree artifact with a file starting with a `..`.\n\nFix the detection to only recognize paths with `..` segments.\n\nPiperOrigin-RevId: 351624019\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e4c290a3b6936a1e91086130eb6413d5a9038c10",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/vfs/PathFragment.java",
      "new_id": "6704b2f518de70786db979b7654647abbcb18d67",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/vfs/PathFragment.java"
    },
    {
      "type": "modify",
      "old_id": "a94daf36b478373cdce04e535a3481ff456cbd7a",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/vfs/PathFragmentTest.java",
      "new_id": "9b39d42b9f961dd25d0e2e8c132aa802dac08332",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/vfs/PathFragmentTest.java"
    }
  ]
}
