)]}'
{
  "commit": "a922bfa3b5a6b2ac5e98f0e3405d66c1847aa7e8",
  "tree": "d494eb2b5d80e3d26de8afd813b5780464c89019",
  "parents": [
    "9a7b22959ad078df1f50d15e86a169aaebfb8c4c"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Wed Feb 28 17:50:50 2024 -0500"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Feb 29 08:10:42 2024 -0800"
  },
  "message": "upload-pack: only accept packfile-uris if we advertised it\n\nClients are only supposed to request particular capabilities or features\nif the server advertised them. For the \"packfile-uris\" feature, we only\nadvertise it if uploadpack.blobpacfileuri is set, but we always accept a\nrequest from the client regardless.\n\nIn practice this doesn\u0027t really hurt anything, as we\u0027d pass the client\u0027s\nprotocol list on to pack-objects, which ends up ignoring it. But we\nshould try to follow the protocol spec, and tightening this up may catch\nbuggy or misbehaving clients more easily.\n\nThanks to recent refactoring, we can hoist the config check from\nupload_pack_advertise() into upload_pack_config(). Note the subtle\nhandling of a value-less bool (which does not count for triggering an\nadvertisement).\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": "6ef4971845fb4407977e98cb62b3468abfca5838",
      "old_mode": 33261,
      "old_path": "t/t5702-protocol-v2.sh",
      "new_id": "1ef540f73d34756673423ff77fa46567bd34b2ab",
      "new_mode": 33261,
      "new_path": "t/t5702-protocol-v2.sh"
    },
    {
      "type": "modify",
      "old_id": "491ef51daaf295e90c9f473be755fbddffdd0903",
      "old_mode": 33188,
      "old_path": "upload-pack.c",
      "new_id": "66f4de9d8723a088e02232ee3723fa0758cd6af7",
      "new_mode": 33188,
      "new_path": "upload-pack.c"
    }
  ]
}
