)]}'
{
  "commit": "8f7122cd1183a4224b14131483d549df497b22a6",
  "tree": "29a124ddc5e06cab3eb3f4f71d4b21b2f642c04d",
  "parents": [
    "eed122d401a9da5fb438e73e8c7d905092481110"
  ],
  "author": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Sat Feb 11 18:28:33 2023 +0100"
  },
  "committer": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Sun Nov 03 17:54:48 2024 +0000"
  },
  "message": "cli: Add new write-protect CLI\n\nAdd a new write-protect CLI that is based on the classic-CLI feature\nin flashrom/master. The syntax is slighty different: With the new\nCLI wrapper, we can either call it as `flashprog write-protect` or\n`flashprog wp`. To keep the CLI code clean, we allow only one write-\nprotection operation per call.\n\nFor instance, the write-protection status can then be queried like\nthis:\n\n  $ flashprog wp status -p ch341a_spi\n\nChange-Id: I32818b58c9db939719913fc63063c41a27876554\nSigned-off-by: Nico Huber \u003cnico.h@gmx.de\u003e\nReviewed-on: https://review.sourcearcade.org/c/flashprog/+/72991\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "65b808b531d07c149d3f43f583dd100eef718741",
      "old_mode": 33188,
      "old_path": "Makefile",
      "new_id": "cc6e4d4cbcd66e11ef5096d1be31f5de20506125",
      "new_mode": 33188,
      "new_path": "Makefile"
    },
    {
      "type": "modify",
      "old_id": "f1d483ae72cc018007fc34ce8b0d43ecb87978e4",
      "old_mode": 33188,
      "old_path": "cli.c",
      "new_id": "49e0c60d43af47e43da51b41c7d0450ceee4d38c",
      "new_mode": 33188,
      "new_path": "cli.c"
    },
    {
      "type": "modify",
      "old_id": "8257fcf3095d730e5b37f9b0978b9acc2466c71d",
      "old_mode": 33188,
      "old_path": "cli_common.c",
      "new_id": "1d43ad28f84d914c0277b299f7144ca40ebe5fe9",
      "new_mode": 33188,
      "new_path": "cli_common.c"
    },
    {
      "type": "modify",
      "old_id": "3ffa04872714d6014879c095424df5cf6f9c6db7",
      "old_mode": 33188,
      "old_path": "cli_config.c",
      "new_id": "7fbd310633d39143d86f55fdb60c59ab5cbb416a",
      "new_mode": 33188,
      "new_path": "cli_config.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "cfc7afdd75d0c1e46f6b96530af9e83a44cd9cae",
      "new_mode": 33188,
      "new_path": "cli_wp.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d5363743459c422856b1520762358558492699b2",
      "new_mode": 33188,
      "new_path": "flashprog-write-protect.8.tmpl"
    },
    {
      "type": "modify",
      "old_id": "d9a59f9a86e79ef565bf8a29dd35d3746928644e",
      "old_mode": 33188,
      "old_path": "flashprog.8.tmpl",
      "new_id": "9ebcf60d24e97fd4c4b33ccb3e06c16700aa03bf",
      "new_mode": 33188,
      "new_path": "flashprog.8.tmpl"
    },
    {
      "type": "modify",
      "old_id": "69b01466dfa78a692b412146d7ab9aa3934ae5c5",
      "old_mode": 33188,
      "old_path": "include/cli.h",
      "new_id": "1fbdef6351c82bc450e2d1422be43cb332403459",
      "new_mode": 33188,
      "new_path": "include/cli.h"
    },
    {
      "type": "modify",
      "old_id": "7a3d35c00a8bdd15c3e93e1978ec7d973242bb89",
      "old_mode": 33188,
      "old_path": "meson.build",
      "new_id": "f87bac5e0f5b7ace9e46781de96338f912f655d8",
      "new_mode": 33188,
      "new_path": "meson.build"
    }
  ]
}
