)]}'
{
  "commit": "a26ff4e576de7478e2fefd938bcc57951a2ffb0a",
  "tree": "1ef69709088ed308a868f55df5c78eb76c307cb8",
  "parents": [
    "622a625abb97c8f3df091fde6a655950386c1cea"
  ],
  "author": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Thu Oct 08 10:35:59 2026 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Oct 08 07:31:19 2026 -0700"
  },
  "message": "tmp-objdir: replace primary source at creation time\n\nWhen creating transactions via the \"tmp-objdir\" subsystem callers are\nexpected to first call `tmp_objdir_create()` to create the quarantine\ndirectory and then `tmp_objdir_replace_primary_odb()` to activate that\nquarantine directory as the primary object database source so that all\nnewly written objects are written into it.\n\nThis dance is performed by all users of temporary object directories, so\nthat makes the setup unnecessarily involved. Merge the logic to replace\nthe primary object database source into `tmp_objdir_create()` to\nsimplify the dance.\n\nNote that with the quarantine directory being installed by\n`tmp_objdir_create()`, users of this function no longer get a pointer to\nthe underlying quarantine directory. So instead of repreparing only that\ndirectory, we now reprepare the whole source instead, and as we know\nthat the source has wired up the quarantine directory already, this will\ncause us to reprepare the quarantine directory, too.\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": "83a3c4bf9b16b92bbf03cc5e937ac1c51ba492d7",
      "old_mode": 33188,
      "old_path": "log-tree.c",
      "new_id": "361dfadbb368f0c1d4c1ca01d5e30ee99cb64ccb",
      "new_mode": 33188,
      "new_path": "log-tree.c"
    },
    {
      "type": "modify",
      "old_id": "fe9139c96dcf2760de5264c00b8ef9648cac48dc",
      "old_mode": 33188,
      "old_path": "object-file.c",
      "new_id": "02521afcafe64a9c95e24168aa59289842fcd246",
      "new_mode": 33188,
      "new_path": "object-file.c"
    },
    {
      "type": "modify",
      "old_id": "a3903b6e6dbda800684a14d024f97ad7edcfd509",
      "old_mode": 33188,
      "old_path": "tmp-objdir.c",
      "new_id": "719b55e580d9e721e6c3989cf712340a087b6267",
      "new_mode": 33188,
      "new_path": "tmp-objdir.c"
    },
    {
      "type": "modify",
      "old_id": "5ed0db1ee03754b8c24f89af776693c02999b08c",
      "old_mode": 33188,
      "old_path": "tmp-objdir.h",
      "new_id": "a301b01d84cb84cfafe7b73d6777be712ab8dd20",
      "new_mode": 33188,
      "new_path": "tmp-objdir.h"
    }
  ]
}
