)]}'
{
  "commit": "cd38d46723aeed85e0c040a0315ac9d832f332fe",
  "tree": "30088e45e09d6b351b7d052b5147f5a6ad0af2c1",
  "parents": [
    "2356992538153710a36ac2dbece3241379c4b3ce"
  ],
  "author": {
    "name": "Rahul Yadav",
    "email": "yadavrah@google.com",
    "time": "Mon Aug 24 10:37:13 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:30:36 2026 -0700"
  },
  "message": "repohooks: support --fix and handle non-interactive fixups\n\nAllow main() and direct_main() in pre-upload.py to accept the fix\nargument/option. Propagate it to _attempt_fixes to automatically\napply fixups when explicitly requested.\n\nWhen fix is False, do not prompt and do not apply fixups if yes\nis set or if running non-interactively (sys.stdin is not a tty),\npreventing automated runs from blocking on prompts or mutating files.\n\nBug: 546510319\nTest: python3 -m pytest\nChange-Id: Ie89b0a355a727bf00ce9e40946b6068ad23acb1f\nReviewed-on: https://gerrit-review.googlesource.com/c/git-repohooks/+/621761\nReviewed-by: Gavin Mak \u003cgavinmak@google.com\u003e\nCommit-Queue: Rahul Yadav \u003cyadavrah@google.com\u003e\nTested-by: Rahul Yadav \u003cyadavrah@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0f589c2996829ef0a26f0a302eb02b04a5243a82",
      "old_mode": 33261,
      "old_path": "pre-upload.py",
      "new_id": "c20777c714ef00c30f0929c8e808489441fdb173",
      "new_mode": 33261,
      "new_path": "pre-upload.py"
    },
    {
      "type": "modify",
      "old_id": "6591e5f894e809b6db3040e4bdc85a4ab34e684f",
      "old_mode": 33261,
      "old_path": "pre-upload_unittest.py",
      "new_id": "d89f5616a495266012b05c54a74a400c0ceb6ed4",
      "new_mode": 33261,
      "new_path": "pre-upload_unittest.py"
    }
  ]
}
