)]}'
{
  "commit": "44f46f2be5b6fb47733e495be3de21eeec4c7ede",
  "tree": "f7112af9c5a51b4d19c2473ac07950e8ab3f8dac",
  "parents": [
    "f016ec17fbbde5ae7d208f0585bc02eb63416a53"
  ],
  "author": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Thu Jun 25 11:20:07 2026 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Jun 26 08:27:19 2026 -0700"
  },
  "message": "reftable: split up write options\n\nWhen initializing the reftable stack the caller may optionally pass some\nwrite options. These write options mix up two different concerns though:\n\n  - Of course, they allow the caller to configure how new reftables are\n    being written.\n\n  - But they also allow the caller to configure the stack itself, like\n    its hash ID and the `on_reload` callback.\n\nThis is somewhat awkward, as it doesn\u0027t easily give the caller the\nflexibility to for example write multiple reftables with different\noptions. Furthermore, this requires us to eagerly parse relevant\nconfiguration when initializing the reftable backend.\n\nRefactor the code by splitting out those options that configure the\nstack itself. Creating a new stack will thus only require this limited\nset of options, whereas the caller is expected to pass write options to\nall functions that end up writing tables.\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": "5115a3f4ce6f5f97685e79fe7ac49f27336520c3",
      "old_mode": 33188,
      "old_path": "refs/reftable-backend.c",
      "new_id": "608d71cf10c818ebccf48dd61c37da57a25bd221",
      "new_mode": 33188,
      "new_path": "refs/reftable-backend.c"
    },
    {
      "type": "modify",
      "old_id": "5f7be573fabf8e1765c22b89711542ccf39ca9ba",
      "old_mode": 33188,
      "old_path": "reftable/reftable-stack.h",
      "new_id": "11f9963f4f1e9f535e7b463c5a396022c9ee840e",
      "new_mode": 33188,
      "new_path": "reftable/reftable-stack.h"
    },
    {
      "type": "modify",
      "old_id": "a66db415c87637c3bf25004c919835f76074f93d",
      "old_mode": 33188,
      "old_path": "reftable/reftable-writer.h",
      "new_id": "6ff4ddfc6004617511fe6316face222c0a3023fd",
      "new_mode": 33188,
      "new_path": "reftable/reftable-writer.h"
    },
    {
      "type": "modify",
      "old_id": "1fba96ddb3366f95fab16943768864de27b347a6",
      "old_mode": 33188,
      "old_path": "reftable/stack.c",
      "new_id": "ab129267089f29a58a8b555c85bc03dd8601277f",
      "new_mode": 33188,
      "new_path": "reftable/stack.c"
    },
    {
      "type": "modify",
      "old_id": "bc28f2998ac02737d9e17284a97e686038aa7d9c",
      "old_mode": 33188,
      "old_path": "reftable/stack.h",
      "new_id": "f7901e6c6f5a01244dbcc5ba391d8e5ac3a8ec8b",
      "new_mode": 33188,
      "new_path": "reftable/stack.h"
    },
    {
      "type": "modify",
      "old_id": "0133b649759bcfba8f0e4e89740704da39b78d32",
      "old_mode": 33188,
      "old_path": "reftable/writer.c",
      "new_id": "f850e9d599e387f12c4d7f1b18834b70819cd19a",
      "new_mode": 33188,
      "new_path": "reftable/writer.c"
    },
    {
      "type": "modify",
      "old_id": "9f53610b27a161d3ff02b8a6aa63ef0d92df5ada",
      "old_mode": 33188,
      "old_path": "reftable/writer.h",
      "new_id": "c08fc413e193679aa43070222b7b75cac89535af",
      "new_mode": 33188,
      "new_path": "reftable/writer.h"
    },
    {
      "type": "modify",
      "old_id": "b16c0722c84aa8b87c424eb6d81cf758d59da63c",
      "old_mode": 33188,
      "old_path": "t/helper/test-reftable.c",
      "new_id": "fc49fafc3466f4caf1b5320580e0c7e7e26966ad",
      "new_mode": 33188,
      "new_path": "t/helper/test-reftable.c"
    },
    {
      "type": "modify",
      "old_id": "fdb5b11a2034f2057f1e8f15ade6b0ff64d5f1d6",
      "old_mode": 33188,
      "old_path": "t/unit-tests/lib-reftable.c",
      "new_id": "19a3ac8b809410485fb8322358522c9302c19983",
      "new_mode": 33188,
      "new_path": "t/unit-tests/lib-reftable.c"
    },
    {
      "type": "modify",
      "old_id": "d7e6d3136f5d2f5385f1d1db7283bc53e6ef107b",
      "old_mode": 33188,
      "old_path": "t/unit-tests/lib-reftable.h",
      "new_id": "caf443d147e1edfb773ee2d825033216fbeb38ee",
      "new_mode": 33188,
      "new_path": "t/unit-tests/lib-reftable.h"
    },
    {
      "type": "modify",
      "old_id": "54cb7fc2a7146539c4888eb5c43d378c8aa8c3a1",
      "old_mode": 33188,
      "old_path": "t/unit-tests/u-reftable-merged.c",
      "new_id": "21232c1e4f74556851c5b27a2e33c2735319117a",
      "new_mode": 33188,
      "new_path": "t/unit-tests/u-reftable-merged.c"
    },
    {
      "type": "modify",
      "old_id": "4d8c4be5f140107a9c1d0468227e21fb28b1fc90",
      "old_mode": 33188,
      "old_path": "t/unit-tests/u-reftable-readwrite.c",
      "new_id": "5794b460c6020dbf6624bdb26e33d6b3ba134a46",
      "new_mode": 33188,
      "new_path": "t/unit-tests/u-reftable-readwrite.c"
    },
    {
      "type": "modify",
      "old_id": "b8110cdeee664b3fa37653f36110c8409a9a403b",
      "old_mode": 33188,
      "old_path": "t/unit-tests/u-reftable-stack.c",
      "new_id": "e6c163594013d7484b945f81917d5ed343a2ad2e",
      "new_mode": 33188,
      "new_path": "t/unit-tests/u-reftable-stack.c"
    },
    {
      "type": "modify",
      "old_id": "14fae8b199c13c1b7b016ec651c70336102f450a",
      "old_mode": 33188,
      "old_path": "t/unit-tests/u-reftable-table.c",
      "new_id": "fae478ee044c487dac5aaf13a2a644f90de445f4",
      "new_mode": 33188,
      "new_path": "t/unit-tests/u-reftable-table.c"
    }
  ]
}
