)]}'
{
  "commit": "4c40314a35816de635e7170eaacdc0c35be83a8a",
  "tree": "13a6aa66b5a6400ae44eb8e630df07a398494dfc",
  "parents": [
    "7c91aabd8964cfdf637f302c579c95401f21ce92"
  ],
  "author": {
    "name": "Eric Blake",
    "email": "eblake@redhat.com",
    "time": "Fri Jan 29 06:48:49 2016 -0700"
  },
  "committer": {
    "name": "Markus Armbruster",
    "email": "armbru@redhat.com",
    "time": "Mon Feb 08 17:29:55 2016 +0100"
  },
  "message": "qapi: Prefer type_int64 over type_int in visitors\n\nThe qapi builtin type \u0027int\u0027 is basically shorthand for the type\n\u0027int64\u0027.  In fact, since no visitor was providing the optional\ntype_int64() callback, visit_type_int64() was just always falling\nback to type_int(), cementing the equivalence between the types.\n\nHowever, some visitors are providing a type_uint64() callback.\nFor purposes of code consistency, it is nicer if all visitors\nuse the paired type_int64/type_uint64 names rather than the\nmismatched type_int/type_uint64.  So this patch just renames\nthe signed int callbacks in place, dropping the type_int()\ncallback as redundant, and a later patch will focus on the\nunsigned int callbacks.\n\nAdd some FIXMEs to questionable reuse of errp in code touched\nby the rename, while at it (the reuse works as long as the\ncallbacks don\u0027t modify value when setting an error, but it\u0027s not\na good example to set) - a later patch will then fix those.\n\nNo change in functionality here, although further cleanups are\nin the pipeline.\n\nSigned-off-by: Eric Blake \u003ceblake@redhat.com\u003e\nMessage-Id: \u003c1454075341-13658-14-git-send-email-eblake@redhat.com\u003e\nSigned-off-by: Markus Armbruster \u003carmbru@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f314894f3083fccca4b8c7bb248111bbaddad038",
      "old_mode": 33188,
      "old_path": "include/qapi/visitor-impl.h",
      "new_id": "319efe8af53e81f8f63b57ac9566502cce645eec",
      "new_mode": 33188,
      "new_path": "include/qapi/visitor-impl.h"
    },
    {
      "type": "modify",
      "old_id": "4955ac833fd6a5a7d6ae68b6aca0ce52702ad371",
      "old_mode": 33188,
      "old_path": "qapi/opts-visitor.c",
      "new_id": "14db02c92386aaf7b23ea158ea9e4f8a7df721b4",
      "new_mode": 33188,
      "new_path": "qapi/opts-visitor.c"
    },
    {
      "type": "modify",
      "old_id": "c805a7a87d3f07610a13a482b53e87167414efd4",
      "old_mode": 33188,
      "old_path": "qapi/qapi-dealloc-visitor.c",
      "new_id": "07d7337b794a1affd675baac314b05bb63d04e21",
      "new_mode": 33188,
      "new_path": "qapi/qapi-dealloc-visitor.c"
    },
    {
      "type": "modify",
      "old_id": "060316b9b0bd8a603d111dd7d1f2904521661b73",
      "old_mode": 33188,
      "old_path": "qapi/qapi-visit-core.c",
      "new_id": "2446a1287b3d3d9e0d8530bdd9c142081d77ab8c",
      "new_mode": 33188,
      "new_path": "qapi/qapi-visit-core.c"
    },
    {
      "type": "modify",
      "old_id": "edb8bd2d68c26de09a9e729f4cd119baaa05e92d",
      "old_mode": 33188,
      "old_path": "qapi/qmp-input-visitor.c",
      "new_id": "d1668e343fbdb89e6d96434fcefab06ebdf17066",
      "new_mode": 33188,
      "new_path": "qapi/qmp-input-visitor.c"
    },
    {
      "type": "modify",
      "old_id": "b064fb5a91d09094dbc216153bf2db1e2a483931",
      "old_mode": 33188,
      "old_path": "qapi/qmp-output-visitor.c",
      "new_id": "a13cf9154d7d251b2015b16f6e4091f981433d7b",
      "new_mode": 33188,
      "new_path": "qapi/qmp-output-visitor.c"
    },
    {
      "type": "modify",
      "old_id": "52db4cf32b1fa7eab8c439b17f2ff8c589701064",
      "old_mode": 33188,
      "old_path": "qapi/string-input-visitor.c",
      "new_id": "ffe8cb2f3d9ed8c487302ccc0f0451ce87cc3c36",
      "new_mode": 33188,
      "new_path": "qapi/string-input-visitor.c"
    },
    {
      "type": "modify",
      "old_id": "b0313cb53a99fb4f11f353ccba2be3be2f8f55ce",
      "old_mode": 33188,
      "old_path": "qapi/string-output-visitor.c",
      "new_id": "cf8dfc8b48402d6e1b6baad41ad63fb028309d3a",
      "new_mode": 33188,
      "new_path": "qapi/string-output-visitor.c"
    }
  ]
}
