)]}'
{
  "commit": "4d70655bcb852ea0a006d3923f0b0a9c69ff462e",
  "tree": "07f0dec6ffc8266ccda62c70a12242c2c50d2801",
  "parents": [
    "acdfb480ba7e2779bdbffb5280cf12ff6e43669c"
  ],
  "author": {
    "name": "Stefan Hajnoczi",
    "email": "stefanha@redhat.com",
    "time": "Mon Mar 18 17:58:53 2013 +0100"
  },
  "committer": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Tue Mar 19 11:48:37 2013 +0100"
  },
  "message": "block: fix BDRV_O_SNAPSHOT protocol detection\n\nrealpath(3) is used to get an absolute path to the image file when\ncreating a -drive snapshot\u003don temporary qcow2.  This does not work for\nprotocols since their filenames (\"proto:foo:...\") do not correspond to\nfile system paths.\n\nCommit 7c96d46ec245d73fd76726588409f9abe4bd5dc1 (\"Let snapshot work with\nprotocols\") skipped realpath(3) for protocols.  Later on the \"raw\"\nformat was introduced and broke the check.\n\nUse path_has_protocol(filename) to decide if this image uses a protocol\nor a filename.\n\nReported-by: Richard Jones \u003crjones@redhat.com\u003e\nSigned-off-by: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\nSigned-off-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "037e15e0655743ad383cc5e468b91861a18ec3cf",
      "old_mode": 33188,
      "old_path": "block.c",
      "new_id": "0a062c9a7cfb99aa67d5f05b45e6264cdccf26c9",
      "new_mode": 33188,
      "new_path": "block.c"
    }
  ]
}
