)]}'
{
  "commit": "e6b09077216ecc1c767506f39be736ba3dcccecb",
  "tree": "476621137c842e696ab13ec8e365c6edf795857c",
  "parents": [
    "ccb7f822d520472026a12250e1390683706a8154"
  ],
  "author": {
    "name": "Taylor Blau",
    "email": "me@ttaylorr.com",
    "time": "Wed Oct 15 18:28:53 2025 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Oct 16 10:08:55 2025 -0700"
  },
  "message": "builtin/repack.c: extract opts struct for \u0027write_midx_included_packs()\u0027\n\nThe function \u0027write_midx_included_packs()\u0027, which is responsible for\nwriting a new MIDX with a given set of included packs, currently takes a\nlist of six arguments.\n\nIn order to extract this function out of the builtin, we have to pass\nin a few additional parameters, like \u0027midx_must_contain_cruft\u0027 and\n\u0027packdir\u0027, which are currently declared as static variables within the\nbuiltin/repack.c compilation unit.\n\nInstead of adding additional parameters to `write_midx_included_packs()`\nextract out an \"opts\" struct that names these parameters, and pass a\npointer to that, making it less cumbersome to add additional parameters.\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": "771372182647f2943f7317550a27263f164be8b5",
      "old_mode": 33188,
      "old_path": "builtin/repack.c",
      "new_id": "1a79d1d83418ef970986dd913c8750a58dd412c0",
      "new_mode": 33188,
      "new_path": "builtin/repack.c"
    }
  ]
}
