)]}'
{
  "commit": "f9de4b7ff70a70d8e5c4abca418756e959aaea85",
  "tree": "42c4c564c54a901c188ed334b06f18e0076fa659",
  "parents": [
    "b4dedbc0615bddbad6a5bd18345d9da766d95dfa"
  ],
  "author": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Fri Sep 11 07:51:45 2026 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Sep 11 08:46:09 2026 -0700"
  },
  "message": "cache-tree: remove dependency on `the_repository`\n\nThe \"cache-tree\" subsystem still depends on `the_repository`. Adapt it\nto instead use repositories provided via the context, either as a new\nparameter or the one passed in via `struct index_state`.\n\nBesides getting rid of `the_repository`, this also removes the last\ndependency on registering submodule sources with the main object\ndatabase. When reading gitmodules from a submodule\u0027s index we implicitly\nread that object via `the_repository`\u0027s object database, which is of\ncourse wrong. This works though because we would then register the\nsubmodule\u0027s object database with the main object database, but a later\npatch is going to get rid of that mechanism.\n\nYou can verify that we indeed no longer depend on this mechanism by\nrunning tests with `GIT_TEST_FATAL_REGISTER_SUBMODULE_ODB\u003dtrue`. Without\nthis patch we fail in t1092, with this patch we never register submodule\nobject databases anymore.\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": "6103b3fcb30000d867a866465ec960077f16cfe7",
      "old_mode": 33188,
      "old_path": "cache-tree.c",
      "new_id": "b8cbb5da2210200fe5cf16e34a0637d213ebf18f",
      "new_mode": 33188,
      "new_path": "cache-tree.c"
    },
    {
      "type": "modify",
      "old_id": "4b3f60d6db481e176827ac93d58c6afa15c1e086",
      "old_mode": 33188,
      "old_path": "cache-tree.h",
      "new_id": "7a2177de83eef9bfa73dc2b610bc4918f108364c",
      "new_mode": 33188,
      "new_path": "cache-tree.h"
    },
    {
      "type": "modify",
      "old_id": "8eb266cfd13308fb37c7e1156a45e4ec7fe55208",
      "old_mode": 33188,
      "old_path": "read-cache-ll.h",
      "new_id": "066dd8bc3b8397de0a616fa90f7111e6eef27b32",
      "new_mode": 33188,
      "new_path": "read-cache-ll.h"
    },
    {
      "type": "modify",
      "old_id": "8044ff820b7d722a6a35b3953c0eee5802aa480c",
      "old_mode": 33188,
      "old_path": "read-cache.c",
      "new_id": "e40f290bb385e98f7c813efccebce9c78695194c",
      "new_mode": 33188,
      "new_path": "read-cache.c"
    },
    {
      "type": "modify",
      "old_id": "f6bb1e6d2bf541d0e95fab418b4b452dd261b5cb",
      "old_mode": 33188,
      "old_path": "unpack-trees.c",
      "new_id": "1802809ad3c50ab9bb52fb95abe79ebc063625b7",
      "new_mode": 33188,
      "new_path": "unpack-trees.c"
    }
  ]
}
