)]}'
{
  "commit": "e6ad7080098a0db0cb304812c8603856da2bebf2",
  "tree": "748d6b5e3983a874c34177da480330f676b29ba2",
  "parents": [
    "09914bcab7d1d5570c20a52d1861957145da8a5a"
  ],
  "author": {
    "name": "Rahul Yadav",
    "email": "yadavrah@google.com",
    "time": "Fri Aug 14 15:09:22 2026 +0000"
  },
  "committer": {
    "name": "gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Aug 27 03:28:58 2026 -0700"
  },
  "message": "hooks: add --fix option to auto-apply hook fixes\n\nPass the --fix flag as a keyword argument \"fix\" to the hook main\nfunction. This allows hooks (such as git-repohooks) to decouple\nautomated fix application from the -y/--yes flag so that -y can\nanswer yes to upload confirmation prompts without triggering file\nmutations.\n\nCompanion change in git-repohooks:\nhttps://gerrit-review.googlesource.com/c/git-repohooks/+/621761\n\nBug: 546510319\nTest: python3 -m pytest tests/test_hooks.py\n\nChange-Id: If0288d4791fc0a2aba6e88854e3aa81b0923b664\nReviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/619281\nCommit-Queue: Rahul Yadav \u003cyadavrah@google.com\u003e\nTested-by: Rahul Yadav \u003cyadavrah@google.com\u003e\nReviewed-by: Gavin Mak \u003cgavinmak@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "704e584f81419d329c250b5d564542f7ff96336c",
      "old_mode": 33188,
      "old_path": "completion.zsh",
      "new_id": "ac82ce78d135d0cf78f1f1536aee2b4e466769d2",
      "new_mode": 33188,
      "new_path": "completion.zsh"
    },
    {
      "type": "modify",
      "old_id": "c3adee8ad7287cd1d9492b0778a7b6badb5029f5",
      "old_mode": 33188,
      "old_path": "docs/repo-hooks.md",
      "new_id": "7f69217da7c19644f778fbb066cce14467cd71f3",
      "new_mode": 33188,
      "new_path": "docs/repo-hooks.md"
    },
    {
      "type": "modify",
      "old_id": "5c763db5eb5c66c851aae8fd251662c2e0d52233",
      "old_mode": 33188,
      "old_path": "hooks.py",
      "new_id": "af3134d5e968cee5695ed1347a453078357f1043",
      "new_mode": 33188,
      "new_path": "hooks.py"
    },
    {
      "type": "modify",
      "old_id": "02de7b5339e6b52429d401baa6add3412af1f360",
      "old_mode": 33188,
      "old_path": "man/repo-upload.1",
      "new_id": "ad17b6987bfe40069c11968284101d4d2340a2f2",
      "new_mode": 33188,
      "new_path": "man/repo-upload.1"
    },
    {
      "type": "modify",
      "old_id": "56a2066e7621251017d46f0f24319ea0dca84858",
      "old_mode": 33188,
      "old_path": "subcmds/upload.py",
      "new_id": "31cdde1919a3400c9ca5ed6290381c42ffe8ed80",
      "new_mode": 33188,
      "new_path": "subcmds/upload.py"
    },
    {
      "type": "modify",
      "old_id": "33ccba7b6bda5e4c47edf14ddd25c3911148b14b",
      "old_mode": 33188,
      "old_path": "tests/test_hooks.py",
      "new_id": "3c05d4fe40713a8d17ff03c97a724f003bfd2dc9",
      "new_mode": 33188,
      "new_path": "tests/test_hooks.py"
    }
  ]
}
