)]}'
{
  "commit": "aae4ebc895272dc7e5a9ccfc135878b55c7322d7",
  "tree": "5449eea7704fb8719ab66f07947fd04157433004",
  "parents": [
    "6a2fbab4c95b0fc317514ec7ead618b3b37e3553"
  ],
  "author": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Thu Jun 04 09:46:29 2026 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Jun 05 21:49:38 2026 +0900"
  },
  "message": "setup: stop creating the object database in `setup_git_env()`\n\nIn the preceding commit we have stopped creating the object database in\n`repo_set_gitdir()`. But the logic is still somewhat confusing as we\nstill end up creating it conditionally in `setup_git_dir()`, which is\ncalled multiple times.\n\nDrop the conditional logic and instead create the object database in all\nplaces where we have discovered and configured a repository.\n\nThis leads to even more duplication than we already had in the preceding\ncommit, but an alert reader may notice that we now (almost) always call\n`odb_new()` directly before having called `apply_repository_format()`.\nThe only exception to this is `setup_git_directory_gently()`, where we\nalso call the function when _not_ applying the repository format. This\nwill be fixed in the next commit, and once that\u0027s done we can then unify\ncreation of the object database into `apply_repository_format()`.\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": "3bd3f6c5924ef336ffe0f04ce45f364a89628cbc",
      "old_mode": 33188,
      "old_path": "setup.c",
      "new_id": "0dc9fe4565a182d2be712b295f7104fcd08a99fd",
      "new_mode": 33188,
      "new_path": "setup.c"
    }
  ]
}
