)]}'
{
  "commit": "72070da5f2cc47a50eeba659d4792478b5f81767",
  "tree": "849858040f1830122d119784b9ba4d16d08b05d6",
  "parents": [
    "21416906039abe72322452a28e8eef602a6fd03e"
  ],
  "author": {
    "name": "Christoforos Miliotis",
    "email": "christoforos.miliotis.dev@gmail.com",
    "time": "Fri May 19 10:14:35 2023 +0100"
  },
  "committer": {
    "name": "Christoforos Miliotis",
    "email": "christoforos.miliotis.dev@gmail.com",
    "time": "Mon May 22 17:06:44 2023 +0100"
  },
  "message": "Don\u0027t read git submodule commits during replication\n\nCurrently, any attempt to read/parse a git submodule commit will\nthrow a `org.eclipse.jgit.errors.MissingObjectException`, as the git\nsubmodule\u0027s commit hash cannot be found in the repo.\n\nThe git submodule\u0027s commit can be identified as it has the special\n`160000` file mode.\n\nThe solution is to exclude the git submodule\u0027s commit from being\nread/parsed.\n\nI believe everything is replicated correctly in the end, but it will\nbe nice to get rid of this exception.\n\nBug: Issue 16897\nChange-Id: Ib21b9e19c5282f94226d7a27c25c5fe0f94b7279\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cd6a0eabcbb274cc05810af1251dfd58b933dc60",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/RevisionReader.java",
      "new_id": "3f03ed64aba3661f0b795341b6c96df8da4f2412",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/RevisionReader.java"
    },
    {
      "type": "modify",
      "old_id": "1d8520f822141292be9fd10ef17f0955f6ffafae",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/replication/pull/RevisionReaderIT.java",
      "new_id": "fcd9b196ecd86e38e17d827e49259b03a254fb4e",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/replication/pull/RevisionReaderIT.java"
    }
  ]
}
