)]}'
{
  "commit": "782c030ea21f02a5dfab3fd023e14084ebeff4dc",
  "tree": "c8e55101eac5d31163c2ea5fa77ff433fbf20a52",
  "parents": [
    "3b48045c6c73a51834a2f83440a30225485ee431"
  ],
  "author": {
    "name": "René Scharfe",
    "email": "l.s.r@web.de",
    "time": "Sat Nov 18 11:20:04 2017 +0100"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Sat Nov 18 20:38:40 2017 +0900"
  },
  "message": "config: flip return value of write_section()\n\nd9bd4cbb9cc (config: flip return value of store_write_*()) made\nwrite_section() follow the convention of write(2) to return -1 on error\nand the number of written bytes on success.  3b48045c6c7 (Merge branch\n\u0027sd/branch-copy\u0027) changed it back to returning 0 on error and 1 on\nsuccess, but left its callers still checking for negative values.\n\nLet write_section() follow the convention of write(2) again to meet the\nexpectations of its callers.\n\nReported-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Rene Scharfe \u003cl.s.r@web.de\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4831c1273542706437139ccc379afb38e7ca3d3b",
      "old_mode": 33188,
      "old_path": "config.c",
      "new_id": "201ad36d34376ceee44b530197863924fb7051b4",
      "new_mode": 33188,
      "new_path": "config.c"
    }
  ]
}
