)]}'
{
  "commit": "6a2fbab4c95b0fc317514ec7ead618b3b37e3553",
  "tree": "ee6416d9704f1c2d20d4e15a697bb1a803f3b69e",
  "parents": [
    "3d884b0b5656fe012002edd6bb8f36a125e6c17e"
  ],
  "author": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Thu Jun 04 09:46:28 2026 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Jun 05 21:49:38 2026 +0900"
  },
  "message": "repository: stop initializing the object database in `repo_set_gitdir()`\n\nThe function `repo_set_gitdir()` obviously sets the Git directory for a\ngiven repository. Less obviously though, the function also configures a\ncouple of auxiliary settings.\n\nOne such thing is that we create the object database in this function.\nThis logic only happens conditionally though, as `set_git_dir()` may be\ncalled multiple times during repository setup, and we don\u0027t want to\ncreate the object database multiple times. This is somewhat tangled and\nhard to follow.\n\nRemove the logic from `repo_set_gitdir()` and instead initialize the\nobject database outside of it. This leads to some duplication right now,\nbut that duplication will be removed in a subsequent step where we will\nstart initializing the object database as part of applying the repo\u0027s\nformat.\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": "58a13f7c4f5d85ab65630f33dfd84c078eb5fdf3",
      "old_mode": 33188,
      "old_path": "repository.c",
      "new_id": "2c2395105fcf2d5c99009962e1d3162c057d3241",
      "new_mode": 33188,
      "new_path": "repository.c"
    },
    {
      "type": "modify",
      "old_id": "c3ec0f4b790b0057bdd40949b14d0d101073ceaf",
      "old_mode": 33188,
      "old_path": "repository.h",
      "new_id": "36e2db26332c0ee7c3c3dbd52eb53749c6b9c439",
      "new_mode": 33188,
      "new_path": "repository.h"
    },
    {
      "type": "modify",
      "old_id": "c5015923f159a9fdf497b28b657f9dad15e66a1f",
      "old_mode": 33188,
      "old_path": "setup.c",
      "new_id": "3bd3f6c5924ef336ffe0f04ce45f364a89628cbc",
      "new_mode": 33188,
      "new_path": "setup.c"
    }
  ]
}
