)]}'
{
  "commit": "07fbf2be2fdaa3629c06b2d6021a24c903e7890c",
  "tree": "443853cfadf8f0cb05d17f75b8c37e54b522db98",
  "parents": [
    "181acc5f7f5f3d569ab0ab0d69b211371e6d2c48"
  ],
  "author": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Thu Oct 09 10:01:36 2025 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Oct 16 14:42:39 2025 -0700"
  },
  "message": "builtin/gc: convert to use `packfile_store_get_all_packs()`\n\nWhen running maintenance tasks via git-maintenance(1) we have a couple\nof auto-conditions that check whether or not a specific task should be\nrunning. One such check is for incremental repacks, which essentially\nuse `git multi-pack-index repack` to repack a set of smaller packfiles\ninto one larger packfile.\n\nThe auto-condition for this task checks how many packfiles there are\nthat aren\u0027t indexed by any multi-pack index. If there is a sufficient\nnumber then we execute the above command to combine those into a single\npack and add that pack to the MIDX.\n\nAs we don\u0027t care about MIDX\u0027d packs we use `packfile_store_get_packs()`,\nwhich knows to not load any packs that are indexed by a MIDX. But as\nexplained in the preceding commit, we want to get rid of that function.\n\nWe already handle packfiles that have a MIDX by the very nature of this\nfunction, as we explicitly count non-MIDX\u0027d packs. As such, we can\ntrivially switch over to use `packfile_store_get_all_packs()` instead.\n\nDo so.\n\nSigned-off-by: Patrick Steinhardt \u003cps@pks.im\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e19e13d9788076cf05029561a4fdcfea9f1fc095",
      "old_mode": 33188,
      "old_path": "builtin/gc.c",
      "new_id": "ab6d6d3bd1b4455059515e21dd841a5a07690e51",
      "new_mode": 33188,
      "new_path": "builtin/gc.c"
    }
  ]
}
