)]}'
{
  "commit": "ab3810eb6fffd95d39e9579945e360e8247eeda8",
  "tree": "1ab0403733a3fe95c644a10f799d233168848fa3",
  "parents": [
    "7a094d68a27e321a99c8ab6b700909e503904bd9"
  ],
  "author": {
    "name": "Johannes Schindelin",
    "email": "johannes.schindelin@gmx.de",
    "time": "Thu Jun 18 13:50:18 2026 +0000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Jun 18 09:46:56 2026 -0700"
  },
  "message": "zlib: properly clamp to uLong\n\nOn platforms where `unsigned long` and `size_t` differ in bit size, we\nwant to clamp the buffers we pass to zlib to the former\u0027s size, as per\nd05d666977 (git-zlib: handle data streams larger than 4GB, 2026-05-08).\n\nThe logic introduced in that commit performs a clamping to the bits,\nthough, which fails to do what is needed here: If too many bytes are\navailable in the buffers, we need to clamp to the maximum value of an\n`unsigned long`. Otherwise, we ask zlib to use too small buffers, in the\nworst case using 0 as the size (think: a value whose 32 lowest bits are\nall zero).\n\nSigned-off-by: Johannes Schindelin \u003cjohannes.schindelin@gmx.de\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b91cb323aee9161ca979c6d5de27c2093a6179cb",
      "old_mode": 33188,
      "old_path": "git-zlib.c",
      "new_id": "d21adb3bf5b15e85c3baaed25fdb204c869b9632",
      "new_mode": 33188,
      "new_path": "git-zlib.c"
    }
  ]
}
