)]}'
{
  "commit": "dc2b67185694c220a95525b6aeb717e663075e3c",
  "tree": "bd3817d0b7b814e19bd4265f42332a5338e493d9",
  "parents": [
    "04a31c1a520eac9d1844acc52665d0892bc4e35f"
  ],
  "author": {
    "name": "Piotr Szlazak",
    "email": "piotr.szlazak@gmail.com",
    "time": "Thu Oct 09 22:10:55 2025 +0200"
  },
  "committer": {
    "name": "Piotr Szlazak",
    "email": "piotr.szlazak@gmail.com",
    "time": "Thu Oct 09 22:10:55 2025 +0200"
  },
  "message": "Add curl \u0027-f\u0027 option to fail on download problems\n\nBy default curl will exit with exit code \u00270\u0027 even if there\nwas a problem with the transfer. Option \u0027-f\u0027 will make curl\nto exit with error code \u002722\u0027 if HTTP response code was 400\nor higher. If there was a problem with transfer, it does not\nmake sense to process the next command - chmod.\nOption \u0027-f\u0027 was introduced in curl in version 4.0, released\nin 1998, so is safe to be used.\n\nChange-Id: I74b1669b48d10a690a290dae2c24480f3a6994c6\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a6ce048bb0e478d5d2cd26af9d2a71d643ca7c04",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/download/command/CloneWithCommitMsgHook.java",
      "new_id": "0c6cdb2584526cc2e52c158f865e2ba9da5262a2",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/download/command/CloneWithCommitMsgHook.java"
    },
    {
      "type": "modify",
      "old_id": "67f63e2d4c6e66e0fd6645ba78e5aedd197833e3",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/download/command/CloneWithCommitMsgHookTest.java",
      "new_id": "9762ab788d914952aac575ff2ac116542fe46aed",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/download/command/CloneWithCommitMsgHookTest.java"
    }
  ]
}
