)]}'
{
  "commit": "6066be88b4a311cb3134d51f43db4ea10d08da2b",
  "tree": "b7a3705a9b5407b6a43ab2f0f9b3e3b5464f9cc0",
  "parents": [
    "a26ff4e576de7478e2fefd938bcc57951a2ffb0a"
  ],
  "author": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Thu Oct 08 10:36:00 2026 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Oct 08 07:31:19 2026 -0700"
  },
  "message": "odb/source: make `will_destroy` an implementation detail\n\nThe `struct odb_source::will_destroy` flag tracks whether a source is\npart of a transaction that we know we\u0027ll destruct anyway. If so, the\nbackend can optimize for that particular case, for example by not\nflushing any data to disk.\n\nWhile the intent is sensible, it assumes that transactions are backed by\na separate source that\u0027s being linked into the object database. But that\nmay or may not be true, as backends may have significantly better ways\nto achieve the same. So the assumption doesn\u0027t make much sense in the\nfirst place, as we\u0027re now tracking backend-specific details on the\ngeneric `struct odb_source` level.\n\nMove the field from the generic source into the \"loose\" source, as this\nis the only source that ever makes use of it anyway.\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": "3c9edba46aa1e40843bbd628a3e300e35fd8b753",
      "old_mode": 33188,
      "old_path": "odb/source-loose.c",
      "new_id": "b2fbccd3c0c9ab4e170a928552367352f03b9704",
      "new_mode": 33188,
      "new_path": "odb/source-loose.c"
    },
    {
      "type": "modify",
      "old_id": "3cf2e1f8f1d5e2a78109b154ddd18b9a287e068d",
      "old_mode": 33188,
      "old_path": "odb/source-loose.h",
      "new_id": "7c7e845fe348f49fd79e4209bbc8b33b8a58cdd0",
      "new_mode": 33188,
      "new_path": "odb/source-loose.h"
    },
    {
      "type": "modify",
      "old_id": "ea00873763b57cbb4d8bc5b7d0085f0facb97fed",
      "old_mode": 33188,
      "old_path": "odb/source.h",
      "new_id": "9fd2b2e5b5267df21ca423b04e821bd1091db0ec",
      "new_mode": 33188,
      "new_path": "odb/source.h"
    },
    {
      "type": "modify",
      "old_id": "719b55e580d9e721e6c3989cf712340a087b6267",
      "old_mode": 33188,
      "old_path": "tmp-objdir.c",
      "new_id": "2f2ffbbc7d06a6a215ada31b8ea48404135c965d",
      "new_mode": 33188,
      "new_path": "tmp-objdir.c"
    }
  ]
}
