)]}'
{
  "commit": "24e82426e689853b0d9a04e7b9b6f13e145cf2d6",
  "tree": "f0b2249b3de2ac18ae63eae762cacfeef399b9f5",
  "parents": [
    "c046f9675d188fcd856119e8f1e9e035727659b1"
  ],
  "author": {
    "name": "Keith Smiley",
    "email": "keithbsmiley@gmail.com",
    "time": "Tue Feb 22 06:21:46 2022 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Tue Feb 22 06:23:32 2022 -0800"
  },
  "message": "Fix aggressive params file assumption\n\nMost programs that accept params files use the `@file` syntax. For Apple\nplatform builds `@` can be the start of non-params file arguments as\nwell, such as `-rpath @executable_path/Frameworks`. There is a small\nlist of options where this is the case, so this new behavior no longer\nassumes params files if args start with `@`, they also have to not start\nwith one of the 3 keywords used with this (from `man dyld` on macOS).\nThis should always hold since params files generated by bazel should\nalways start with `bazel-out`, if someone renames the symlinks to one of\nthe keywords, they\u0027re on their own.\n\nPreviously the workaround was to always make sure to pass the\n`-Wl,-rpath,@executable_path` form of these arguments, but this makes\nusers not have to worry about this.\n\nIn a few other places we check this by checking if the file exists,\nwhich is likely more accurate, but feels excessive and potentially\ndangerous in this context.\n\nRelated: https://github.com/bazelbuild/bazel/pull/13148\nFixes: https://github.com/bazelbuild/bazel/issues/14316\n\nCloses #14650.\n\nPiperOrigin-RevId: 430195929\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0403d2de3bcd1f9e25e315c6fcb728c255fa53c9",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java",
      "new_id": "8ff77d467c5b5b12db248e70b9fb7df4ef1552cc",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java"
    }
  ]
}
