)]}'
{
  "commit": "2fee63a71ae8113fd91d8e5924ae4a5619ad0cd3",
  "tree": "043efeb9fa7032bf1179080251bfb2bf976a6f8f",
  "parents": [
    "c3690c97d7b08d9876fcaf0a572b4956bc9b4c33"
  ],
  "author": {
    "name": "Taylor Blau",
    "email": "me@ttaylorr.com",
    "time": "Wed Oct 15 18:28:59 2025 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Oct 16 10:08:55 2025 -0700"
  },
  "message": "repack: keep track of MIDX pack names using existing_packs\n\nInstead of storing the list of MIDX pack names separately, let\u0027s inline\nit into the existing_packs struct, further reducing the number of\nparameters we have to pass around.\n\nThis amounts to adding a new string_list to the existing_packs struct,\nand populating it via `existing_packs_collect()`. This is fairly\nstraightforward to do, since we are already looping over all packs, all\nwe need to do is:\n\n    if (p-\u003emulti_pack_index)\n        string_list_append(\u0026existing-\u003emidx_packs, pack_basename(p));\n\nNote, however, that this check *must* come before other conditions where\nwe discard and do not keep track of a pack, including the condition \"if\n(!p-\u003epack_local)\" immediately below. This is because the existing\nroutine which collects MIDX pack names does so blindly, and does not\ndiscard, for example, non-local packs.\n\nSigned-off-by: Taylor Blau \u003cme@ttaylorr.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dda533f1716cfaf5ce91a3800d8482a3913d8059",
      "old_mode": 33188,
      "old_path": "builtin/repack.c",
      "new_id": "a57a14ef604c0a65fcd9bc0c4cc33eba0723a883",
      "new_mode": 33188,
      "new_path": "builtin/repack.c"
    },
    {
      "type": "modify",
      "old_id": "d8afdd352d4ed9556dfaf6d9b59808d12360432d",
      "old_mode": 33188,
      "old_path": "repack.c",
      "new_id": "1d485e01124e923d2a211691989c7e806039cedd",
      "new_mode": 33188,
      "new_path": "repack.c"
    },
    {
      "type": "modify",
      "old_id": "803e1292240887464f2829e7491ce1208b42b2ca",
      "old_mode": 33188,
      "old_path": "repack.h",
      "new_id": "6aa5b4e0f0fd2c529b1abc43703727a97e03fbed",
      "new_mode": 33188,
      "new_path": "repack.h"
    }
  ]
}
