)]}'
{
  "commit": "7f5d8a4d8e0ef7aee08476f0a3b9eb40974efaee",
  "tree": "9ea2d2bb6d71f222cc06481e5fae581ed4db5fcd",
  "parents": [
    "cc1dd33f273f8c96cbd7539b4a2d1d7aa12773cd"
  ],
  "author": {
    "name": "Stefan Roese",
    "email": "sr@denx.de",
    "time": "Mon Mar 14 14:34:21 2011 +0100"
  },
  "committer": {
    "name": "Stefan Roese",
    "email": "sr@denx.de",
    "time": "Mon Mar 21 10:02:16 2011 +0100"
  },
  "message": "UBI: Fix error code handling in ubi commands\n\nSome ubi commands returned negative error codes, resulting in\nthe following error message on the prompt:\n\n\"exit not allowed from main input shell.\"\n\nNegative error codes are not allowed.\n\nThis patch now changes the UBI code to return positive error codes.\nAdditionally \"better\" error codes are used, for example \"ENOMEM\" when\nno memory is available for the UBI volume creation any more.\n\nAlso the output of some commands is enhanced:\n\nBefore:\n\n\u003d\u003e ubi read 100000 testvol 100000\nVolume testvol found at volume id 0\nread 1048576 bytes from volume 0 to 100000(buf address)\n\u003d\u003e ubi write 100000 testvol 1000\nVolume testvol found at volume id 0\n\nAfter:\n\n\u003d\u003e ubi read 100000 testvol 100000\nRead 1048576 bytes from volume testvol to 00100000\n\u003d\u003e ubi write 100000 testvol 1000\n4096 bytes written to volume testvol\n\nSigned-off-by: Stefan Roese \u003csr@denx.de\u003e\nCc: Wolfgang Denk \u003cwd@denx.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b486ca8fefa0c625fcfbd545a7c407d5426668b2",
      "old_mode": 33188,
      "old_path": "common/cmd_ubi.c",
      "new_id": "629758fdf5e7aa7ae98ea70cdb8a6ccde0c4b818",
      "new_mode": 33188,
      "new_path": "common/cmd_ubi.c"
    }
  ]
}
