)]}'
{
  "commit": "4c223571bef1c008c11ad5028072af862d3e7fe3",
  "tree": "c02ecea7100fc75a95847a400038d56fc0621c0f",
  "parents": [
    "9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed"
  ],
  "author": {
    "name": "Tian Yuchen",
    "email": "cat@malon.dev",
    "time": "Mon Mar 09 14:51:40 2026 +0800"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Mon Mar 09 12:45:19 2026 -0700"
  },
  "message": "patch-ids: document intentional const-casting in patch_id_neq()\n\nThe hashmap API requires the comparison function to take const pointers.\nHowever, patch_id_neq() uses lazy evaluation to compute patch IDs on\ndemand. As established in b3dfeebb (rebase: avoid computing unnecessary\npatch IDs, 2016-07-29), this avoids unnecessary work since not all\nobjects in the hashmap will eventually be compared.\n\nRemove the ten-year-old \"NEEDSWORK\" comment and formally document\nthis intentional design trade-off.\n\nSigned-off-by: Tian Yuchen \u003ccat@malon.dev\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a5683b462c6e7692ceff3218213b9747a9b6cc02",
      "old_mode": 33188,
      "old_path": "patch-ids.c",
      "new_id": "1fbc88cbec874ef2a923004279150900d51e7b02",
      "new_mode": 33188,
      "new_path": "patch-ids.c"
    }
  ]
}
