)]}'
{
  "commit": "a06e1d39528ef6e549153528b80365903ff12a3e",
  "tree": "d68dbbc27110d626e292112cf81e4672ccbceda5",
  "parents": [
    "59aa92b4fa732e5a4d794a20cd9900926d0f68af"
  ],
  "author": {
    "name": "Protobuf Team Bot",
    "email": "protobuf-github-bot@google.com",
    "time": "Wed Apr 29 05:34:47 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Apr 29 05:36:34 2026 -0700"
  },
  "message": "Fix incorrect C++ check which intended to ban closed enums being used on singular implicit presence fields also incorrectly banning in other cases.\n\nBefore this fix, the C++ generator would incorrectly reject legacy-closed-enum-typed fields that also had the legacy-closed-enum option where that option didn\u0027t actually apply (namely repeated and fields in oneofs).\n\nThis harmonizes the behavior with Java (which had almost the same check but which didn\u0027t incorrectly reject those other valid cases.\n\nPiperOrigin-RevId: 907535827\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "37637efd97f03b512a520af465d537d741156a8b",
      "old_mode": 33188,
      "old_path": "src/google/protobuf/compiler/cpp/generator.cc",
      "new_id": "98c26e1adfd9ae030355811fad3541a58b067e6e",
      "new_mode": 33188,
      "new_path": "src/google/protobuf/compiler/cpp/generator.cc"
    },
    {
      "type": "modify",
      "old_id": "0c8664da23a5bfe1298964e14844c82ba103f463",
      "old_mode": 33188,
      "old_path": "src/google/protobuf/compiler/cpp/generator_unittest.cc",
      "new_id": "bd4efd37565f8dbdb5f40025b144bb0ad75676ca",
      "new_mode": 33188,
      "new_path": "src/google/protobuf/compiler/cpp/generator_unittest.cc"
    }
  ]
}
