)]}'
{
  "commit": "738cac100f6e9b2dbb783a5d3bcd3054d12593e0",
  "tree": "8bc59a4085d8ac1044b5d3ed391df5c9ff87db9e",
  "parents": [
    "4a8f298afefbb61b534bb950116fa71c489c412a"
  ],
  "author": {
    "name": "John Millikin",
    "email": "john@john-millikin.com",
    "time": "Wed Nov 13 04:18:47 2019 -0800"
  },
  "committer": {
    "name": "Philipp Wollermann",
    "email": "philwo@google.com",
    "time": "Wed Nov 20 10:25:28 2019 +0100"
  },
  "message": "Add tool executables (from FilesToRunProvider) to action inputs.\n\nFixes https://github.com/bazelbuild/bazel/issues/7390\n\nSummary: rules are allowed to set `DefaultInfo(files \u003d depset(), executable \u003d ...)`. If the resulting targets are used as tool inputs to another target, the executable will not be added to the downstream targets\u0027 action inputs. This manifests as either an `execvp()` error (from `ctx.actions.run()`) or a Bash error in genrules.\n\nThis PR fixes that so the use case of non-default executables works as expected. This is useful for building scripts with complex runfiles, where `bazel run //:something` and `bazel build //:something \u0026\u0026 bazel-bin/something` cannot be supported by the same output file.\n\ncc @ccate @jmmv\n\nCloses #10110.\n\nPiperOrigin-RevId: 280170524\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "50b24761d672119d237935e76d968612e308397c",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/analysis/RuleConfiguredTargetBuilder.java",
      "new_id": "84cdd2ed557412a4b85e9355c47a009287a83cfc",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/analysis/RuleConfiguredTargetBuilder.java"
    },
    {
      "type": "modify",
      "old_id": "ca94833b237cb0fc4823284f0e3a90f81b1a0144",
      "old_mode": 33261,
      "old_path": "src/test/shell/bazel/bazel_rules_test.sh",
      "new_id": "ef70918a41992d56b38ec1721f63da8b579ec768",
      "new_mode": 33261,
      "new_path": "src/test/shell/bazel/bazel_rules_test.sh"
    }
  ]
}
