)]}'
{
  "commit": "ab809be9b3188d5b96dd019f2796aed539738aef",
  "tree": "736bea5acf7b154f6650446926e20bc0aa45319a",
  "parents": [
    "6af46b15d2e428f196fe4bf619b62c0a67536a44"
  ],
  "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": "Fri Aug 30 02:05:04 2024 +0200"
  },
  "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\nTODO: Write a manpage once the syntax is agreed upon.\n\nChange-Id: I32818b58c9db939719913fc63063c41a27876554\nSigned-off-by: Nico Huber \u003cnico.h@gmx.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "63419350ffd254c5bbd5aea1e2da81ae79066ad0",
      "old_mode": 33188,
      "old_path": "Makefile",
      "new_id": "26520b1a45fd7b61a0eb97062b9d60e34219eae3",
      "new_mode": 33188,
      "new_path": "Makefile"
    },
    {
      "type": "modify",
      "old_id": "6a0cbe1eeaa57471f1017be785c4deb454cce9f4",
      "old_mode": 33188,
      "old_path": "cli.c",
      "new_id": "a4ae75d8b565b131ff6c1f61dae50fbf8ec873ff",
      "new_mode": 33188,
      "new_path": "cli.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ea1a7e687e911c694cec152577815f9e99f4b4c3",
      "new_mode": 33188,
      "new_path": "cli_wp.c"
    },
    {
      "type": "modify",
      "old_id": "a96bbfb56afd389e5fc37dd8abb80b41deb65f8e",
      "old_mode": 33188,
      "old_path": "include/cli.h",
      "new_id": "ab8e54d9e236f4765423234b864f3c1417baf3b5",
      "new_mode": 33188,
      "new_path": "include/cli.h"
    },
    {
      "type": "modify",
      "old_id": "c871ad9b1764ec2fb2f678eb099e3577b40a116c",
      "old_mode": 33188,
      "old_path": "meson.build",
      "new_id": "eafcbfabb7d193248884b541a84f355c1cfc8b13",
      "new_mode": 33188,
      "new_path": "meson.build"
    }
  ]
}
