)]}'
{
  "commit": "6fb3f4ec6fba76403fd8ce50d1cdcaf1f2982f86",
  "tree": "c99e2db2c6425f3de2b91a92dd5a9d892b94daff",
  "parents": [
    "3f87fe0052442e51c6b2351df238500df073ea48"
  ],
  "author": {
    "name": "Chris Frantz",
    "email": "cfrantz@google.com",
    "time": "Fri Nov 12 10:56:10 2021 -0800"
  },
  "committer": {
    "name": "cfrantz",
    "email": "frantzcj+github@gmail.com",
    "time": "Tue Nov 23 13:06:29 2021 -0800"
  },
  "message": "[bazel] Add clang-format check/fix rules\n\n1. Add bazel rules to perform some basic code quality checks.\n  - `buildifier_check` checks (but doesn\u0027t fix) BUILD files.\n  - renamed `buildifier` to `buildifier_fix`.\n  - `license_check` checks that all files have appropriate license headers.\n  - `clang_format_check` checks (but doesn\u0027t fix) C/C++ formatting.\n  - `clang_format_fix` fixes C/C++ formatting.\n\nSigned-off-by: Chris Frantz \u003ccfrantz@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7c7cea35dfb7205b6eca72f3ef652e584f2d555b",
      "old_mode": 33188,
      "old_path": "BUILD",
      "new_id": "0b2ee1f718e9a7823fdb262bb609515826fa7f84",
      "new_mode": 33188,
      "new_path": "BUILD"
    },
    {
      "type": "modify",
      "old_id": "2ca8c3e922bd12b2c43bca47723c95a9365ab556",
      "old_mode": 33188,
      "old_path": "rules/quality.bzl",
      "new_id": "9bb5b8380a6517abbca0e816de1ff0f540fca46e",
      "new_mode": 33188,
      "new_path": "rules/quality.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "639e5844bd03fe7dbe7d035b0f9068880575f0d2",
      "new_mode": 33188,
      "new_path": "rules/scripts/clang_format.template.sh"
    },
    {
      "type": "rename",
      "old_id": "c6ec5682736733f39507f37e32033f7b10e91829",
      "old_mode": 33188,
      "old_path": "rules/scripts/license_check.bash.template",
      "new_id": "92fb94a1b0662c61f7a0b3abc3ad220828cfd500",
      "new_mode": 33188,
      "new_path": "rules/scripts/license_check.template.sh",
      "score": 66
    },
    {
      "type": "delete",
      "old_id": "c7802ec1739c81f47d114e531560c7ff8a6001cc",
      "old_mode": 33188,
      "old_path": "util/lowrisc_misc-linters/licence-checker/BUILD",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    }
  ]
}
