)]}'
{
  "commit": "f97936288dabcba0d85bb2d5128a8b4dce1014e7",
  "tree": "0b8848ffbb4ce6fb168b0ca2823a64b60672d07f",
  "parents": [
    "c17b2d9f6b5a4d1194e0a0f9751fb3dfb565d6e4"
  ],
  "author": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Thu Oct 01 07:39:01 2026 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Oct 01 06:38:46 2026 -0700"
  },
  "message": "t/helper: fix segfault in \"dump-reftable -t\"\n\nThe `test-tool dump-reftable` command can be used to dump the on-disk\ncontents of reftables. The \"-t\" subcommand specifically can be used to\ndump a single table from disk.\n\nWhen trying to use this subcommand though one will quickly realize that\nit is broken, as it always segfaults. The root cause of this segfault is\nthat we try to detect the hash algorithm via the merged table\u0027s hash ID.\nBut that hash ID is not the same as Git\u0027s understanding of a hash ID,\nand consequently we fail to look up the correct algorithm. This will\nthen lead to a segfault later on when we try to dereference a NULL\npointer.\n\nThis breakage went undetected until now because this particular\nsubcommand is not used anywhere in our test suite. So the obvious way to\nfix the bug is by just removing the code outright. But in the next\ncommit we\u0027re about to add a user.\n\nFix the issue by properly converting between the two hash IDs.\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": "fc49fafc3466f4caf1b5320580e0c7e7e26966ad",
      "old_mode": 33188,
      "old_path": "t/helper/test-reftable.c",
      "new_id": "57758936b01b1eb365a1a2d26962a910a9086923",
      "new_mode": 33188,
      "new_path": "t/helper/test-reftable.c"
    }
  ]
}
