)]}'
{
  "commit": "30b5d10c957078a320d38669a1d159709c215815",
  "tree": "391453376913ea88d9dcfefc9a31e10476f9cef5",
  "parents": [
    "6470e60d5409d63300cff2a4e1126046217fdf43"
  ],
  "author": {
    "name": "Shaked Flur",
    "email": "sflur@google.com",
    "time": "Fri Sep 16 16:59:26 2022 +0100"
  },
  "committer": {
    "name": "Shaked Flur",
    "email": "sflur@google.com",
    "time": "Wed Sep 21 11:40:02 2022 +0100"
  },
  "message": "Add yapf-diff.sh\n\nThis tiny script can be used as a hook script in PREUPLOAD.cfg:\n| [Hook Scripts]\n| yapf-diff \u003d yapf-diff.sh\n\nThe script runs yapf-diff on the commit that will be uploaded (i.e. format only\npython lines that are touched by the commit). Format suggestions are printed to\nthe screen (no file is changed). If there are any format suggestions the script\nfails. To apply changes one can run the script manually with \u0027-i\u0027, and then\namend the commit.\n\nChange-Id: I221355408dd6490b554cd5c63d376bf0f3c1f952\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b87fdec4e6444d657b5bbe63a7c04f18e19f46f1",
      "old_mode": 33188,
      "old_path": "preupload-hooks/GLOBAL-PREUPLOAD.cfg",
      "new_id": "1ae4480333c28d00b46498463df10b78a01ca302",
      "new_mode": 33188,
      "new_path": "preupload-hooks/GLOBAL-PREUPLOAD.cfg"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a0d22bf3ae2df75b28fda83df054a8250a775066",
      "new_mode": 33261,
      "new_path": "preupload-hooks/yapf-diff.sh"
    },
    {
      "type": "modify",
      "old_id": "b8e0d815a7ff52c6cc446e430c3b1df5224f6f87",
      "old_mode": 33188,
      "old_path": "python-requirements.txt",
      "new_id": "24e6f1c7f7509b8ae5ca124f216ce1dbd7c087bc",
      "new_mode": 33188,
      "new_path": "python-requirements.txt"
    }
  ]
}
