)]}'
{
  "commit": "01ec9c2481186396dde1bc6f5166f7d95bdae134",
  "tree": "566aa8f13362f2ec00205036306c41e5ca01eebf",
  "parents": [
    "b9f317943662efd1b71093a8c3d1abb64fedce7a"
  ],
  "author": {
    "name": "David Ostrovsky",
    "email": "david@ostrovsky.org",
    "time": "Sun Feb 15 11:37:55 2026 +0100"
  },
  "committer": {
    "name": "Thomas Dräbing",
    "email": "thomas.draebing@sap.com",
    "time": "Fri Feb 20 10:07:53 2026 +0100"
  },
  "message": "Bazel: add in_gerrit_tree build setting for Gerrit-tree-only checks\n\nAdd a typed Bazel build setting\n@com_googlesource_gerrit_bazlets//flags:in_gerrit_tree and expose\ntools:in_gerrit_tree_enabled() helper for use with\ntarget_compatible_with.\n\nThis allows plugins to declare tests and guardrails that are meaningful\nonly when built inside the Gerrit source tree (e.g. checks that compare\nagainst //:release.war.jars.txt), while remaining automatically SKIPPED\nin standalone plugin workspaces.\n\nThe Gerrit tree enables these checks by setting:\n\n  common --@com_googlesource_gerrit_bazlets//flags:in_gerrit_tree\u003dtrue\n\nin its .bazelrc.\n\nChange-Id: I8106fd8576dbe5a66651ff4723337e836850e1ac\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3c2f98de45592c6e8f0615515b6c1e13087874eb",
      "old_mode": 33188,
      "old_path": "MODULE.bazel",
      "new_id": "7da95a760023fcf3673e74cbb37aec9db2e74d44",
      "new_mode": 33188,
      "new_path": "MODULE.bazel"
    },
    {
      "type": "modify",
      "old_id": "7261f9cb8248b9875a4aa471eb0d1dc85c26d502",
      "old_mode": 33188,
      "old_path": "README.md",
      "new_id": "e82fe1be584fefc767b5afec4ebe99816f89bffa",
      "new_mode": 33188,
      "new_path": "README.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "dfeef0535e6ca70e1e021424d9e40cc923a701c3",
      "new_mode": 33188,
      "new_path": "flags/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e878d97339f81aadcf873a497eb28efcdcfa088a",
      "new_mode": 33188,
      "new_path": "tools/in_gerrit_tree.bzl"
    }
  ]
}
