)]}'
{
  "commit": "f016ec17fbbde5ae7d208f0585bc02eb63416a53",
  "tree": "c00f2aa9a3d3dbae85fb85b6016a0c53a8ce20e2",
  "parents": [
    "a9e4ce0aec738ca3047d77f3781159424703a2a3"
  ],
  "author": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Thu Jun 25 11:20:06 2026 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Jun 26 08:27:19 2026 -0700"
  },
  "message": "refs/files: lazy-load configuration to fix chicken-and-egg\n\nWhen initializing the \"files\" reference backend we read the repository\u0027s\nconfig to parse \"core.preferSymlinkRefs\" and \"core.logAllRefUpdates\".\nThis results in a chicken-and-egg problem though, because parsing the\nconfiguration may require us to have access to the reference store\nalready when an \"onbranch\" condition exists.\n\nLuckily, all the configuration that we honor only relates to writing\nreferences. Consequently, we don\u0027t strictly need that configuration to\nbe readily available at initialization time, and we can easiliy defer\nparsing it to a later point in time.\n\nImplement this fix and add tests that verify that we can indeed properly\nparse these config knobs via an \"onbranch\" condition.\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": "79fb6735e1e3a3af6cae7deb9eb8c3061e7389c2",
      "old_mode": 33188,
      "old_path": "refs/files-backend.c",
      "new_id": "7ffe489f6a1a24e497365edf405df01ff3e271b2",
      "new_mode": 33188,
      "new_path": "refs/files-backend.c"
    },
    {
      "type": "modify",
      "old_id": "74bfa2e9ba060d193747416fec565b56cf597e71",
      "old_mode": 33261,
      "old_path": "t/t0600-reffiles-backend.sh",
      "new_id": "bbbf6fa4228cd741d9725156dd49f3b521941202",
      "new_mode": 33261,
      "new_path": "t/t0600-reffiles-backend.sh"
    }
  ]
}
