)]}'
{
  "commit": "f8117f550b900b0bc93364ecadbed237b0ffe25e",
  "tree": "fc7ecfd195cdf0ec49a438f886734132faa18a9e",
  "parents": [
    "835c4d3689972e616bd109cec3dd8cd4aa4d4c0d"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Mon Nov 02 17:10:27 2015 -0500"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Mon Nov 02 14:19:54 2015 -0800"
  },
  "message": "http: use off_t to store partial file size\n\nWhen we try to resume transfer of a partially-downloaded\nobject or pack, we fopen() the existing file for append,\nthen use ftell() to get the current position. We use a\n\"long\", which can hold only 2GB on a 32-bit system, even\nthough packfiles may be larger than that.\n\nLet\u0027s switch to using off_t, which should hold any file size\nour system is capable of storing. We need to use ftello() to\nget the off_t. This is in POSIX and hopefully available\neverywhere; if not, we should be able to wrap it by falling\nback to ftell(), which would presumably return \"-1\" on such\na large file (and we would simply skip resuming in that case).\n\nSigned-off-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5f368464e8f3e3980b36b4692d095dd06d89a0d6",
      "old_mode": 33188,
      "old_path": "http.c",
      "new_id": "42f29ce0aaf7aac1e81849cf733e8ea92738f5b0",
      "new_mode": 33188,
      "new_path": "http.c"
    }
  ]
}
