)]}'
{
  "commit": "29637a6ee913df8fcdf371426ee48956b945b618",
  "tree": "8d2c3369074919498d62828d2a624a355ba1a2c3",
  "parents": [
    "5cdc8831a795fb8452d7e34f644202fd724e122a"
  ],
  "author": {
    "name": "Eric Blake",
    "email": "eblake@redhat.com",
    "time": "Tue Dec 01 22:20:53 2015 -0700"
  },
  "committer": {
    "name": "Markus Armbruster",
    "email": "armbru@redhat.com",
    "time": "Thu Dec 17 08:21:29 2015 +0100"
  },
  "message": "qapi: Shorter visits of optional fields\n\nFor less code, reflect the determined boolean value of an optional\nvisit back to the caller instead of making the caller read the\nboolean after the fact.\n\nThe resulting generated code has the following diff:\n\n|-    visit_optional(v, \u0026has_fdset_id, \"fdset-id\");\n|-    if (has_fdset_id) {\n|+    if (visit_optional(v, \u0026has_fdset_id, \"fdset-id\")) {\n|         visit_type_int(v, \u0026fdset_id, \"fdset-id\", \u0026err);\n|         if (err) {\n|             goto out;\n|         }\n|     }\n\nSigned-off-by: Eric Blake \u003ceblake@redhat.com\u003e\nMessage-Id: \u003c1449033659-25497-10-git-send-email-eblake@redhat.com\u003e\nSigned-off-by: Markus Armbruster \u003carmbru@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9be60d428dc55eaadd90f321c1c2de23fc556e6a",
      "old_mode": 33188,
      "old_path": "include/qapi/visitor.h",
      "new_id": "a14a16d755e0be2d3ce4eac41903e4b8f463def8",
      "new_mode": 33188,
      "new_path": "include/qapi/visitor.h"
    },
    {
      "type": "modify",
      "old_id": "e07d6f962f8f8bbcbed7067a19aa6a3aa1156313",
      "old_mode": 33188,
      "old_path": "qapi/qapi-visit-core.c",
      "new_id": "6d63e40234ad98b178976d3e4fb00f8deb7b7b3d",
      "new_mode": 33188,
      "new_path": "qapi/qapi-visit-core.c"
    },
    {
      "type": "modify",
      "old_id": "8bf41db4e2738899e8097744026e53a89c543d2b",
      "old_mode": 33188,
      "old_path": "scripts/qapi.py",
      "new_id": "58ecdf2a95def92b669182dc0623a3589eeda98e",
      "new_mode": 33188,
      "new_path": "scripts/qapi.py"
    }
  ]
}
