)]}'
{
  "commit": "d5403dbf335ba7d48977fc95170c3f7027c34659",
  "tree": "1825ea26bce39b474c4e64d45106d1f27e220f26",
  "parents": [
    "01bd4b39d7ff47af9a73fd7c6cb5264cbd5f0f94"
  ],
  "author": {
    "name": "Orgad Shaneh",
    "email": "orgad.shaneh@audiocodes.com",
    "time": "Sun Nov 26 12:33:12 2023 +0200"
  },
  "committer": {
    "name": "Orgad Shaneh",
    "email": "orgad.shaneh@audiocodes.com",
    "time": "Wed Nov 29 16:45:03 2023 +0000"
  },
  "message": "commit-msg: Ignore all kinds of fixup/squash/amend temp commits\n\nThere are also \"fixup!\" and \"amend!\". During the review process of\nhttps://gerrit-review.googlesource.com/c/gerrit/+/339555 fixup was\nalso ignored, but it was suggested to not ignore it, since it will\nbe eventually discarded anyway.\n\nExecuting the hook has a cost (especially for Windows, where shell\nscripts are slow), and there is no reason to run the hook just for\ndiscarding it shortly afterwards.\n\nMoreover, *not* having Change-Id prevents accidental push of those\ncommits. It also enables the user to mark a commit that should not\nbe pushed by using a prefix such as \"temp!\".\n\nChange the regex to ignore any word that is lowercase and followed\nby an exclamation mark.\n\nAdd a new value to gerrit.createChangeId configuration that forces\nChange-Id creation even for temp commits.\n\nAmends commit 490149df4d93c0597429d4174dcdb71d6664c105.\n\nRelease-Notes: The commit-msg hook now operates as a no-op for temporary commits, which are identified by a lowercase word followed by an exclamation mark (e.g., fixup!, squash!). Configure gerrit.createChangeId to \u0027always\u0027 to force creation on these cases.\nChange-Id: I8aa5384f23f5a119379950209083473e594d6e8d\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e547822b7edcce8595f4d1c7cd8347c0388136f9",
      "old_mode": 33188,
      "old_path": "Documentation/cmd-hook-commit-msg.txt",
      "new_id": "ccb6d58d96c25566f0122e67e4b1b5a884db5c5e",
      "new_mode": 33188,
      "new_path": "Documentation/cmd-hook-commit-msg.txt"
    },
    {
      "type": "modify",
      "old_id": "1772eb78ff6afcc9502352af20dfd424221f68bb",
      "old_mode": 33261,
      "old_path": "resources/com/google/gerrit/server/commit-msg_test.sh",
      "new_id": "80e40bd03026f1b927cb667f73e1b7dbc63e3066",
      "new_mode": 33261,
      "new_path": "resources/com/google/gerrit/server/commit-msg_test.sh"
    },
    {
      "type": "modify",
      "old_id": "5c7dffa8528ca7a6be20567831517bd62b18c698",
      "old_mode": 33261,
      "old_path": "resources/com/google/gerrit/server/tools/root/hooks/commit-msg",
      "new_id": "13aa86c76c0092b507954f60ff6960601c0f2980",
      "new_mode": 33261,
      "new_path": "resources/com/google/gerrit/server/tools/root/hooks/commit-msg"
    }
  ]
}
