)]}'
{
  "commit": "bceae7697ff1711675c26f715b945737bc6849ae",
  "tree": "b528a35656db4d66e9c5be5be54edc7cbeb79344",
  "parents": [
    "b0b58195e4a3039b6a473124dc27ed707db50240"
  ],
  "author": {
    "name": "Wenchao Xia",
    "email": "wenchaoqemu@gmail.com",
    "time": "Thu Mar 06 17:08:56 2014 -0800"
  },
  "committer": {
    "name": "Luiz Capitulino",
    "email": "lcapitulino@redhat.com",
    "time": "Tue Mar 11 09:07:42 2014 -0400"
  },
  "message": "qapi script: support enum type as discriminator in union\n\nBy default, any union will automatically generate a enum type as\n\"[UnionName]Kind\" in C code, and it is duplicated when the discriminator\nis specified as a pre-defined enum type in schema. After this patch,\nthe pre-defined enum type will be really used as the switch case\ncondition in generated C code, if discriminator is an enum field.\n\nSigned-off-by: Wenchao Xia \u003cwenchaoqemu@gmail.com\u003e\nReviewed-by: Markus Armbruster \u003carmbru@redhat.com\u003e\nSigned-off-by: Luiz Capitulino \u003clcapitulino@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0728f36c6522b576a469d7405d9fca8d81bad0b1",
      "old_mode": 33188,
      "old_path": "docs/qapi-code-gen.txt",
      "new_id": "a2e7921601ffb5d3099e71904600449536233645",
      "new_mode": 33188,
      "new_path": "docs/qapi-code-gen.txt"
    },
    {
      "type": "modify",
      "old_id": "5885bac5ba78d80d0e8c799fb87c56baf7336c60",
      "old_mode": 33188,
      "old_path": "scripts/qapi-types.py",
      "new_id": "10864efc58358fb295fad213edee8d4036d58e2b",
      "new_mode": 33188,
      "new_path": "scripts/qapi-types.py"
    },
    {
      "type": "modify",
      "old_id": "0baaf606dca809b9684dedece98f166616bbd21f",
      "old_mode": 33188,
      "old_path": "scripts/qapi-visit.py",
      "new_id": "45ce3a957aabb0ed6175ffb13bfd3816217d79c3",
      "new_mode": 33188,
      "new_path": "scripts/qapi-visit.py"
    },
    {
      "type": "modify",
      "old_id": "eebc8a70619e75e2b9c782c56886192ba42fc7bc",
      "old_mode": 33188,
      "old_path": "scripts/qapi.py",
      "new_id": "2b43ad2f1b8a618c36503118a658f1da41b1ef41",
      "new_mode": 33188,
      "new_path": "scripts/qapi.py"
    },
    {
      "type": "modify",
      "old_id": "6ac988932bcd9a828b30101b722d68470e8b8186",
      "old_mode": 33188,
      "old_path": "tests/Makefile",
      "new_id": "88fca31276d185d8ed3b63619544e9cf3c708230",
      "new_mode": 33188,
      "new_path": "tests/Makefile"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/flat-union-reverse-define.err"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "573541ac9702dd3969c9bc859d2b91ec1f7e6e56",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/flat-union-reverse-define.exit"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9ea7e722011da60888d396fca2039a7a628d5773",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/flat-union-reverse-define.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "03c952e28a8c6aa6d858310ef053a9f3eacbbc60",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/flat-union-reverse-define.out"
    }
  ]
}
