)]}'
{
  "commit": "ac6d45d11f24921ead899c74569b717a7895f4a5",
  "tree": "b80930a3f9574de9406221bcea0bc41d7a19c7c8",
  "parents": [
    "716a6b2c3a54779e1e6f115a5950511d019f4d17"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Tue Oct 03 16:27:52 2023 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Oct 03 14:28:24 2023 -0700"
  },
  "message": "commit-graph: move slab-clearing to close_commit_graph()\n\nWhen closing and freeing a commit-graph, the main entry point is\nclose_commit_graph(), which then uses close_commit_graph_one() to\nrecurse through the base_graph links and free each one.\n\nCommit 957ba814bf (commit-graph: when closing the graph, also release\nthe slab, 2021-09-08) put the call to clear the slab into the recursive\nfunction, but this is pointless: there\u0027s only a single global slab\nvariable. It works OK in practice because clearing the slab is\nidempotent, but it makes the code harder to reason about and refactor.\n\nMove it into the parent function so it\u0027s only called once (and there are\nno other direct callers of the recursive close_commit_graph_one(), so we\nare not hurting them).\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": "5e8a3a50851f108e380806f52915af786b627a37",
      "old_mode": 33188,
      "old_path": "commit-graph.c",
      "new_id": "dc54ef4776ffeeed8de13801f60ffff2d8478ece",
      "new_mode": 33188,
      "new_path": "commit-graph.c"
    }
  ]
}
