)]}' { "commit": "e6741685487382eed6cc20077188cd0e8a4cc153", "tree": "081eeff751e30f6e965a706c9814017ddab4e3df", "parents": [ "ffc84b5dc7e56a583dcba7a9855c4fe19e8d3e95" ], "author": { "name": "Luca Milanesio", "email": "luca.milanesio@gmail.com", "time": "Sat Mar 07 12:37:33 2020 +0000" }, "committer": { "name": "Luca Milanesio", "email": "luca.milanesio@gmail.com", "time": "Sat Mar 07 12:42:25 2020 +0000" }, "message": "Use refName instead of objectId in the fetch REST Api\n\nWhen requesting a remote fetch, specify the ref-name to be fetched\ninstead of the SHA1 of the ref.\n\nFetching by SHA1 has two issues:\n- The remote Git server may disallow exposing the fetch by SHA1\n- Fetching the SHA1 does not update the local ref\n\nChange-Id: I52fba1166b0d5df3a498af2702328cc7723b9a41\n", "tree_diff": [ { "type": "modify", "old_id": "ce02d565f53cf9986d66032f20163d473734d74e", "old_mode": 33188, "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/api/FetchAction.java", "new_id": "736fbf08ab1305923c0570171fbe68719dd3642a", "new_mode": 33188, "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/api/FetchAction.java" }, { "type": "modify", "old_id": "749adc2fd9f0c0d3e69c1ef2f7b2dfdbae226694", "old_mode": 33188, "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/api/FetchCommand.java", "new_id": "b3ab83dffd12be0d56bd565128d9ab7d901ef391", "new_mode": 33188, "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/api/FetchCommand.java" }, { "type": "modify", "old_id": "045b882a3ab0669fe82dfa125a50081da7943dfc", "old_mode": 33188, "old_path": "src/test/java/com/googlesource/gerrit/plugins/replication/pull/api/FetchActionTest.java", "new_id": "39c6717f8868472ca5e62beb8cbeb75ecc9d0d77", "new_mode": 33188, "new_path": "src/test/java/com/googlesource/gerrit/plugins/replication/pull/api/FetchActionTest.java" }, { "type": "modify", "old_id": "7536caf323c948463e9fadd1300a5a998e3306b2", "old_mode": 33188, "old_path": "src/test/java/com/googlesource/gerrit/plugins/replication/pull/api/FetchCommandTest.java", "new_id": "e625e0f40074e66776f77b5050b6479b46cc5d52", "new_mode": 33188, "new_path": "src/test/java/com/googlesource/gerrit/plugins/replication/pull/api/FetchCommandTest.java" } ] }