)]}'
{
  "commit": "34c17b840d5bdb8060ef6309aee04f919616c9de",
  "tree": "7ad18ed6da264907bcb33b376b689a2180a407bb",
  "parents": [
    "270e10ad6dda3379ea0da7efd11e4fbf2cd7a325"
  ],
  "author": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Thu Apr 02 09:31:14 2026 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Apr 02 10:45:43 2026 -0700"
  },
  "message": "reftable: introduce \"reftable-system.h\" header\n\nWe\u0027re including a couple of standard headers like \u003cstdint.h\u003e in a bunch\nof locations, which makes it hard for a project to plug in their own\nlogic for making required functionality available. For us this is for\nexample via \"compat/posix.h\", which already includes all of the system\nheaders relevant to us.\n\nIntroduce a new \"reftable-system.h\" header that allows projects to\nprovide their own headers. This new header is supposed to contain all\nthe project-specific bits to provide the POSIX-like environment, and some\nadditional supporting code. With this change, we thus have the following\nsplit in our system-specific code:\n\n  - \"reftable/reftable-system.h\" is the project-specific header that\n    provides a POSIX-like environment. Every project is expected to\n    provide their own implementation.\n\n  - \"reftable/system.h\" contains the project-independent definition of\n    the interfaces that a project needs to implement. This file should\n    not be touched by a project.\n\n  - \"reftable/system.c\" contains the project-specific implementation of\n    the interfaces defined in \"system.h\". Again, every project is\n    expected to provide their own implementation.\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": "6d73f19c85b6d3cb3cd75316a770d765bc45554d",
      "old_mode": 33188,
      "old_path": "reftable/reftable-basics.h",
      "new_id": "dc8622682d7d06576ba7d244109b0ad2d3581f40",
      "new_mode": 33188,
      "new_path": "reftable/reftable-basics.h"
    },
    {
      "type": "modify",
      "old_id": "0b05a8f7e376bc897399d701f9634f650e4d87c8",
      "old_mode": 33188,
      "old_path": "reftable/reftable-block.h",
      "new_id": "94c79b5c58fb765c903c16cbec2410894fff81ba",
      "new_mode": 33188,
      "new_path": "reftable/reftable-block.h"
    },
    {
      "type": "modify",
      "old_id": "f5ba867bd60a10f0d323dbb96004de9f26bf46c2",
      "old_mode": 33188,
      "old_path": "reftable/reftable-blocksource.h",
      "new_id": "40c1e94646292130a5adba923aac2d30dd0f5477",
      "new_mode": 33188,
      "new_path": "reftable/reftable-blocksource.h"
    },
    {
      "type": "modify",
      "old_id": "d100e0df927ca219fa2986ff50e1cfe05823b37d",
      "old_mode": 33188,
      "old_path": "reftable/reftable-error.h",
      "new_id": "0535e1478bda2df21ea8dc59f23429d4cc389ba3",
      "new_mode": 33188,
      "new_path": "reftable/reftable-error.h"
    },
    {
      "type": "modify",
      "old_id": "007a392cf906c7a69fdafc883deb8cc8ff386d49",
      "old_mode": 33188,
      "old_path": "reftable/reftable-fsck.h",
      "new_id": "340fc7762ed76ffea90762e2dd8b44ad778e8f71",
      "new_mode": 33188,
      "new_path": "reftable/reftable-fsck.h"
    },
    {
      "type": "modify",
      "old_id": "af582028c27fdcacb086183d43d872e1ea166869",
      "old_mode": 33188,
      "old_path": "reftable/reftable-iterator.h",
      "new_id": "a050cc153be711e3c6fea4ca48e6079d2bab55ed",
      "new_mode": 33188,
      "new_path": "reftable/reftable-iterator.h"
    },
    {
      "type": "modify",
      "old_id": "e5af846b32a95f615e078c960b9fcb2a4a5cdcfa",
      "old_mode": 33188,
      "old_path": "reftable/reftable-merged.h",
      "new_id": "02a9966835eb151fb9178dcb9ea8604441ab0122",
      "new_mode": 33188,
      "new_path": "reftable/reftable-merged.h"
    },
    {
      "type": "modify",
      "old_id": "385a74cc8649854dc2275f6a7b79d63d42656fc8",
      "old_mode": 33188,
      "old_path": "reftable/reftable-record.h",
      "new_id": "e18c5382381c4bc355eb5c273f680e508c829a98",
      "new_mode": 33188,
      "new_path": "reftable/reftable-record.h"
    },
    {
      "type": "modify",
      "old_id": "c2415cbc6e46a61c6cb58820799e7bbcc4be4df5",
      "old_mode": 33188,
      "old_path": "reftable/reftable-stack.h",
      "new_id": "5f7be573fabf8e1765c22b89711542ccf39ca9ba",
      "new_mode": 33188,
      "new_path": "reftable/reftable-stack.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4a18a6a790d737a3c5fa8e2617fa889acc9c408b",
      "new_mode": 33188,
      "new_path": "reftable/reftable-system.h"
    },
    {
      "type": "modify",
      "old_id": "5f935d02e3b195d5585a56219497baeaff522cea",
      "old_mode": 33188,
      "old_path": "reftable/reftable-table.h",
      "new_id": "d7666b53a1ee0c262e21523ef477c859127b9894",
      "new_mode": 33188,
      "new_path": "reftable/reftable-table.h"
    },
    {
      "type": "modify",
      "old_id": "1e7003cd698879ced874260c308d9cac06650a91",
      "old_mode": 33188,
      "old_path": "reftable/reftable-writer.h",
      "new_id": "065dd93dc6bc613dcd109f0e9b4d3302923248d0",
      "new_mode": 33188,
      "new_path": "reftable/reftable-writer.h"
    },
    {
      "type": "modify",
      "old_id": "c54ed4cad61f734b36c276097579f94cc649beaa",
      "old_mode": 33188,
      "old_path": "reftable/system.h",
      "new_id": "a7eb6acd4a4b67c29519d8d2b631a3ed6d5cd864",
      "new_mode": 33188,
      "new_path": "reftable/system.h"
    }
  ]
}
