)]}'
{
  "commit": "f78528c7cbfe838b39bd5738c3077256bb5970df",
  "tree": "3e192dbc80a87029520a946f63be6d999aa7de90",
  "parents": [
    "04b0e495de3442a5cf5c110664f718d7b50ce9c7"
  ],
  "author": {
    "name": "Antonio Barone",
    "email": "syntonyze@gmail.com",
    "time": "Thu Apr 15 16:19:27 2021 +0200"
  },
  "committer": {
    "name": "Antonio Barone",
    "email": "syntonyze@gmail.com",
    "time": "Mon Apr 19 08:37:48 2021 +0000"
  },
  "message": "Add step to check for collisions to magic refs\n\nImporting a repository from github, containing refs starting with the\nmagic ref prefix (refs/for or refs/meta) will lead to errors where\nany push to that repository would fail with:\n\nfatal: One or more refs/for/ names blocks change upload\n\nPrevent repositories containing refs starting with refs/for or refs/meta\nfrom being imported and provide a meaningful error message to the user\nso that they can fix the issue and try again.\n\nBug: Issue 14059\nChange-Id: I812e77624a6c7663d6efdec0694fef37b8b8ee4b\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "018f4d0b0b376d5357557f1986cf54f2e23d718f",
      "old_mode": 33188,
      "old_path": "README.md",
      "new_id": "d01069d7a5fd00aee83b0139ab6cecbe321f19d4",
      "new_mode": 33188,
      "new_path": "README.md"
    },
    {
      "type": "modify",
      "old_id": "4e6448b9bdc889aa2366c5021adb5b456caa8fbe",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/GuiceHttpModule.java",
      "new_id": "f75030d5d45db3a429ac4e2f3c4b39ace5b3aac1",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/GuiceHttpModule.java"
    },
    {
      "type": "modify",
      "old_id": "66a7b5cdd06a93d58a2bb8ab607a07704acceca7",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/GitImporter.java",
      "new_id": "ff814115c1f8992d16b01b303dfe292679908740",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/GitImporter.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "616a31ca67a330eff810be06e3dd14e72892a962",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/MagicRefCheckStep.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "263ee9df96c2ad7f5e13745a94b8bfba3c427bfc",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/MagicRefFoundException.java"
    }
  ]
}
