)]}'
{
  "commit": "5e59baf90a72cd25d38a3134edc029f4f022da74",
  "tree": "392dbaed69ea07f8f5ad131bfb874c0bd80f5fba",
  "parents": [
    "e4ba22b31943ab02373359555bd7bcd66442632f"
  ],
  "author": {
    "name": "Eric Blake",
    "email": "eblake@redhat.com",
    "time": "Mon Oct 26 16:35:02 2015 -0600"
  },
  "committer": {
    "name": "Markus Armbruster",
    "email": "armbru@redhat.com",
    "time": "Mon Nov 02 08:30:28 2015 +0100"
  },
  "message": "qapi: Reserve \u0027u\u0027 member name\n\nNow that we have separated union tag values from colliding with\nnon-variant C names, by naming the union \u0027u\u0027, we should reserve\nthis name for our use.  Note that we want to forbid \u0027u\u0027 even in\na struct with no variants, because it is possible for a future\nqemu release to extend QMP in a backwards-compatible manner while\nconverting from a struct to a flat union.  Fortunately, no\nexisting clients were using this member name.  If we ever find\nthe need for QMP to have a member \u0027u\u0027, we could at that time\nrelax things, perhaps by having c_name() munge the QMP member to\n\u0027q_u\u0027.\n\nNote that we cannot forbid \u0027u\u0027 everywhere (by adding the\nrejection code to check_name()), because the existing QKeyCode\nenum already uses it; therefore we only reserve it as a struct\ntype member name.\n\nSigned-off-by: Eric Blake \u003ceblake@redhat.com\u003e\nMessage-Id: \u003c1445898903-12082-24-git-send-email-eblake@redhat.com\u003e\nSigned-off-by: Markus Armbruster \u003carmbru@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "00a16203df0b43f8fe5c2021354a7525da617cf1",
      "old_mode": 33188,
      "old_path": "scripts/qapi.py",
      "new_id": "7c50cc4c876bdc136e89089c7b9e733649f60c6f",
      "new_mode": 33188,
      "new_path": "scripts/qapi.py"
    },
    {
      "type": "modify",
      "old_id": "fd4ec03e09d2a064462d4b7fb7ef8f1f0bd0dd74",
      "old_mode": 33188,
      "old_path": "tests/Makefile",
      "new_id": "92969e8288c9b19210c4952e7fd3241ac76e5c56",
      "new_mode": 33188,
      "new_path": "tests/Makefile"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "87d42296cc1e3d3f4818c34742ba425b9b9aa84e",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/reserved-member-u.err"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d00491fd7e5bb6fa28c517a0bb32b8b506539d4d",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/reserved-member-u.exit"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1eaf0f301c68e906d29f82331600dd53c30ee8f4",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/reserved-member-u.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/reserved-member-u.out"
    }
  ]
}
