)]}'
{
  "commit": "2c6fc31e04b32d5a8523cfe69e4495f188e86ec3",
  "tree": "7773a1342062cb64d7bc70415329c537ee18fa6b",
  "parents": [
    "9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Thu Dec 18 07:13:47 2025 -0500"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Dec 18 22:02:15 2025 +0900"
  },
  "message": "t5551: handle trailing slashes in expected cookies output\n\nWe check in t5551 that curl updates the expected list of cookies after\nmaking a request. We do this by telling it to read and write cookies\nfrom a particular text file, and then checking that after curl runs, the\nfile has the expected content.\n\nHowever, in the upcoming curl 8.18.0, the output file has changed\nslightly: curl will canonicalize the paths it writes, due to commit\na093c93994 (cookie: only keep and use the canonical cleaned up path,\n2025-12-07). In particular, it strips trailing slashes from the paths we\nsee in the cookies.txt file.\n\nThis doesn\u0027t matter to Git, as the cookie handling is all internal to\ncurl. But our test is overly brittle and breaks as a result.\n\nWe can fix it by matching either format. We\u0027ll expect the new format\n(without trailing slashes) and strip the slashes from curl\u0027s output\nbefore comparing. That lets us pass with both old and new versions (I\ntested against curl\u0027s 8_17_0 and rc-8_18_0-2 tags, which are\nrespectively before and after the curl change).\n\nIn theory it might be nice to try to future-proof this test more by\nlooking only for the bits we care about, rather than a byte-wise\ncomparison of the whole file. But after removing comments and blank\nlines (which we already do), we care about most of what\u0027s there. So it\u0027s\nnot clear to me what a more liberal test would look like. Given that the\nformat doesn\u0027t change all that often, it\u0027s probably OK to stop here and\nsee if it ever breaks again.\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": "b0d4ea78015a2579bf78b1f2665639560d6bd6dc",
      "old_mode": 33261,
      "old_path": "t/t5551-http-fetch-smart.sh",
      "new_id": "73cf5315800fa46839631d2ae506046f24f541e2",
      "new_mode": 33261,
      "new_path": "t/t5551-http-fetch-smart.sh"
    }
  ]
}
