)]}'
{
  "commit": "e2d64bd041a7836e25eca884a48932133ed51b8d",
  "tree": "8015f615be47c8b3366cf9e634ace79dd34f3aa4",
  "parents": [
    "64172cf117bd00f0caee5e6e0ab7de30aab587f4"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Mon Oct 05 23:43:31 2026 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Oct 06 10:37:47 2026 -0700"
  },
  "message": "t5551: fix quoting in curl version bug prereq\n\nWe have a prereq snippet that invokes awk. The awk script\u0027s $1, etc,\nvariables need to be quoted to avoid shell interpolation. We correctly\nuse a single-quote inside the prereq snippet, but the snippet itself is\ncontained in double-quotes. So we interpolate \"$1\" into whatever value\nthat happens to have in the outer shell, and eval nonsense like:\n\n  awk \u0027(--some-garbage \u003d\u003d 7 \u0026\u0026 --other-garbage \u003e\u003d 88) ...\u0027\n\nAs a result, we don\u0027t think we have a buggy curl version even when we\ndo, and run the test anyway. But of course it\u0027s easy not to notice,\nsince this prereq was protecting us from a racy bug. It only breaks\nsometimes.\n\nThere are a few options for fixing the quoting:\n\n  1. Backslash-escaping the dollar signs. This is perhaps the least-ugly\n     version, but it\u0027s a minor hassle to remember if somebody touches\n     the code later.\n\n  2. Single-quote the snippet, then quote interior single-quotes as\n     \u0027\\\u0027\u0027. Reasonably obvious, but ugly.\n\n  3. Use the \u0027\u003c\u003c\\EOT\u0027 here-doc trick to specify the snippet. This would\n     look nice, but we don\u0027t yet support it for prereqs. ;)\n\nThis patch uses (2), and we can circle back to (3) to make it look nicer\nlater.\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": "f66d7ce7ac17913d18f22b5cdc07a10b70273e07",
      "old_mode": 33261,
      "old_path": "t/t5551-http-fetch-smart.sh",
      "new_id": "cb681e644f5af1ea8fea9eecefde7171f90b9b56",
      "new_mode": 33261,
      "new_path": "t/t5551-http-fetch-smart.sh"
    }
  ]
}
