)]}'
{
  "commit": "40932d0a7e35fa31b1ac237ccc77a0a346ce887d",
  "tree": "26e235616795b473245faa3646c901be5d8caab4",
  "parents": [
    "8e84d34da2bf58fe25ffcd56cb15c60232fb43de"
  ],
  "author": {
    "name": "Justin Tobler",
    "email": "jltobler@gmail.com",
    "time": "Thu Aug 20 18:49:39 2026 -0500"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Aug 20 20:28:02 2026 -0700"
  },
  "message": "odb: return temporary ODB source when set\n\nWhen invoked, `odb_set_temporary_primary_source()` installs a temporary\nobject directory as the new primary ODB source. A caller that wants to\noperate on the ODB source of the open transaction must assume that it is\nthe first entry in the ODB source list which is a bit awkward and\nfragile.\n\nInstead, return the newly installed source directly and report the\nprevious primary source via a new `prev_source` out parameter. Propagate\nthe installed source through `tmp_objdir_replace_primary_odb()` and\nstart storing it in the \"files\" ODB transaction so a subsequent commit\ncan easily access it without relying on the ODB source list ordering.\n\nSigned-off-by: Justin Tobler \u003cjltobler@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4d03c167d5a0b2fa6deb876090a1a3c7ca534808",
      "old_mode": 33188,
      "old_path": "object-file.c",
      "new_id": "db63587f6d756436727d9ab90faaf008dac96eba",
      "new_mode": 33188,
      "new_path": "object-file.c"
    },
    {
      "type": "modify",
      "old_id": "caf1d0f5424d29b5ab6f9935c43e5de26cfab113",
      "old_mode": 33188,
      "old_path": "odb.c",
      "new_id": "8afcb6b637686aeb1a51e7397c416ca7719b5cc3",
      "new_mode": 33188,
      "new_path": "odb.c"
    },
    {
      "type": "modify",
      "old_id": "fca67e8253e7ad7f52d509fc5e0dd115a8557b04",
      "old_mode": 33188,
      "old_path": "odb.h",
      "new_id": "bdfcb9509afce6b0d5e474c629734330ae4efd75",
      "new_mode": 33188,
      "new_path": "odb.h"
    },
    {
      "type": "modify",
      "old_id": "d199d39e7c9d51c3f9dcd100535dc513e62b5c4d",
      "old_mode": 33188,
      "old_path": "tmp-objdir.c",
      "new_id": "e633d97e0efc04560a74d21419e67ed80657289f",
      "new_mode": 33188,
      "new_path": "tmp-objdir.c"
    },
    {
      "type": "modify",
      "old_id": "ccf800faa7c6b9cc69a37f1ae467cee137d3edf2",
      "old_mode": 33188,
      "old_path": "tmp-objdir.h",
      "new_id": "81eb9274136e69f098ac830a8e4ac4c10491041e",
      "new_mode": 33188,
      "new_path": "tmp-objdir.h"
    }
  ]
}
