)]}'
{
  "commit": "3bca02e274eb81d238099cc45a5b8fca4596a09c",
  "tree": "489e2ed3f8169b9eb083d6bed72c7b01eb503647",
  "parents": [
    "197bbfe0d5955a3736cb3091cdc1c214b13341fe"
  ],
  "author": {
    "name": "Cosmin Truta",
    "email": "ctruta@gmail.com",
    "time": "Sun Jun 01 22:40:38 2025 +0300"
  },
  "committer": {
    "name": "Cosmin Truta",
    "email": "ctruta@gmail.com",
    "time": "Sun Jun 01 22:40:38 2025 +0300"
  },
  "message": "examples: Refactor and reformat using clang-format\n\nAdd contrib/examples/.clang-format, tailored to fit the existing code\nas closely as possible. The end goal is to set up automatic formatting\nfor the entire libpng source tree. We\u0027re doing this experiment in this\nsubdirectory, for now.\n\nAlso make refactoring changes, as follows:\n\n * Rewrite the preprocessor checks `#if PNG_FOO_SUPPORTED` to stop\n   compilation immediately, with a descriptive `#error` about what\n   needs to be supported.\n\n * Rewrite and reflow comments, add braces and brackets, and make other\n   minor modifications that are suited for the clang-format\u0027ed code.\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "eb26af615a13877842aee40cb3132a3a750cb43f",
      "new_mode": 33188,
      "new_path": "contrib/examples/.clang-format"
    },
    {
      "type": "modify",
      "old_id": "977cdcba16256858452d3751ae3adb55c17cea98",
      "old_mode": 33188,
      "old_path": "contrib/examples/iccfrompng.c",
      "new_id": "0e095abb1d541568809062087c296131c65c1751",
      "new_mode": 33188,
      "new_path": "contrib/examples/iccfrompng.c"
    },
    {
      "type": "modify",
      "old_id": "6486844a4714eb6fe22860df0c48af4a6f4a6105",
      "old_mode": 33188,
      "old_path": "contrib/examples/pngpixel.c",
      "new_id": "9f7ef8066a0810b4b18313f4a3a4e977a887bbc0",
      "new_mode": 33188,
      "new_path": "contrib/examples/pngpixel.c"
    },
    {
      "type": "modify",
      "old_id": "1d55496acc3be8381a0dda6ceac4e0a3f7301cbf",
      "old_mode": 33188,
      "old_path": "contrib/examples/pngtopng.c",
      "new_id": "7a826b3397b47db1254ff6a077cfdf7176d75782",
      "new_mode": 33188,
      "new_path": "contrib/examples/pngtopng.c"
    },
    {
      "type": "modify",
      "old_id": "59dd313688c190afd5d6b9d33bd78935b51a22b2",
      "old_mode": 33188,
      "old_path": "contrib/examples/simpleover.c",
      "new_id": "8dc9fecbdee1586bcfb1cceaec38efd11e871598",
      "new_mode": 33188,
      "new_path": "contrib/examples/simpleover.c"
    }
  ]
}
