)]}'
{
  "commit": "7be9e410b22b3544e01d32f7bef8e6aa9516e152",
  "tree": "ddb18c3442e8a198df37123c0c1e1e1ffc3f4b16",
  "parents": [
    "ddacfc7466707cbe462594052261647b43868825"
  ],
  "author": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Fri Aug 15 07:49:52 2025 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Aug 15 09:34:48 2025 -0700"
  },
  "message": "commit-graph: stop passing in redundant repository\n\nMany of the commit-graph related functions take in both a repository and\nthe object database source (directly or via `struct commit_graph`) for\nwhich we are supposed to load such a commit-graph. In the best case this\ninformation is simply redundant as the source already contains a\nreference to its owning object database, which in turn has a reference\nto its repository. In the worst case this information could even\nmismatch when passing in a source that doesn\u0027t belong to the same\nrepository.\n\nRefactor the code so that we only pass in the object database source in\nthose cases.\n\nThere is one exception though, namely `load_commit_graph_chain_fd_st()`,\nwhich is responsible for loading a commit-graph chain. It is expected\nthat parts of the commit-graph chain aren\u0027t located in the same object\nsource as the chain file itself, but in a different one. Consequently,\nthis function doesn\u0027t work on the source level but on the database level\ninstead.\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": "f5c6f863a5d8664756a5801752d8f3a6154f413d",
      "old_mode": 33188,
      "old_path": "builtin/commit-graph.c",
      "new_id": "6656187f90d1e4c3edcf1359c5fb75258c4818be",
      "new_mode": 33188,
      "new_path": "builtin/commit-graph.c"
    },
    {
      "type": "modify",
      "old_id": "d6f0bf5e88a1245dc8273c44fae4d52d45c4d8b8",
      "old_mode": 33188,
      "old_path": "commit-graph.c",
      "new_id": "3cd9e73e2aa092984b4dd8dd3b422cf47e09a2cf",
      "new_mode": 33188,
      "new_path": "commit-graph.c"
    },
    {
      "type": "modify",
      "old_id": "0a67ac92803d0eb8bbbf5437f8b4c83ae54e69c8",
      "old_mode": 33188,
      "old_path": "commit-graph.h",
      "new_id": "4899b54ef8820721922f2807054deb529e31da56",
      "new_mode": 33188,
      "new_path": "commit-graph.h"
    },
    {
      "type": "modify",
      "old_id": "ef5339bbee9553212a92df59f6386f188a61d402",
      "old_mode": 33188,
      "old_path": "t/helper/test-read-graph.c",
      "new_id": "6a5f64e473f2b6d97ba30e76bc2422d125c39ed2",
      "new_mode": 33188,
      "new_path": "t/helper/test-read-graph.c"
    }
  ]
}
