)]}'
{
  "commit": "6f11c42e8edc5cf7d65156c9dd68e720f1b92229",
  "tree": "f49b8cb39a3990626fca5fe532b3e5bd13d0fbce",
  "parents": [
    "0bd2d791cc9f745ebaedafc0e1cbebdebe41343e"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Wed Jun 04 16:55:13 2025 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Wed Jun 04 14:17:53 2025 -0700"
  },
  "message": "curl: fix integer constant typechecks with curl_easy_setopt()\n\nThe curl documentation specifies that curl_easy_setopt() takes either:\n\n  ...a long, a function pointer, an object pointer or a curl_off_t,\n  depending on what the specific option expects.\n\nBut when we pass an integer constant like \"0\", it will by default be a\nregular non-long int. This has always been wrong, but seemed to work in\npractice (I didn\u0027t dig into curl\u0027s implementation to see whether this\nmight actually be triggering undefined behavior, but it seems likely and\nregardless we should do what the docs say).\n\nThis is especially important since curl has a type-checking macro that\ncauses building against curl 8.14 to produce many warnings. The specific\ncommit is due to their 79b4e56b3 (typecheck-gcc.h: fix the typechecks,\n2025-04-22). Curiously, it does only seem to trigger when compiled with\n-O2 for me.\n\nWe can fix it by just marking the constants with a long \"L\".\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": "f9e67cabd4bee8ac4ac223e990623988314683c3",
      "old_mode": 33188,
      "old_path": "http-push.c",
      "new_id": "591e46ab260d57f20425790668c74070267f01da",
      "new_mode": 33188,
      "new_path": "http-push.c"
    },
    {
      "type": "modify",
      "old_id": "3c029cf8947df7ca5a4997726a7f49fc4339c1aa",
      "old_mode": 33188,
      "old_path": "http.c",
      "new_id": "cce2ea7287368703da0d0f2766d77e715ef39343",
      "new_mode": 33188,
      "new_path": "http.c"
    },
    {
      "type": "modify",
      "old_id": "590b228f67fcbc2872e24bba5aad8fc68adc1fc0",
      "old_mode": 33188,
      "old_path": "remote-curl.c",
      "new_id": "6183772191f2145e1dd76bd20dcf6f5cb27b983a",
      "new_mode": 33188,
      "new_path": "remote-curl.c"
    }
  ]
}
