)]}' { "commit": "b5a62f24fc36e6e1cc6eb7bb3f8c3a5d7166e8b8", "tree": "ad01e49eb29c4a6d8b3514fbf02237be4e8f4bd3", "parents": [ "11373a8b0a989c86230892af464a64870f0fb59f" ], "author": { "name": "Marcin Czech", "email": "maczech@gmail.com", "time": "Mon Jan 23 21:24:15 2023 +0100" }, "committer": { "name": "Marcin Czech", "email": "maczech@gmail.com", "time": "Tue Jan 24 18:13:24 2023 +0100" }, "message": "Exclude repo from ChangeCacheKey equals/hash code calculation\n\nWithout this change ChangeCacheKey.repo field is a part\nof the equals/hash code calculation. Other Gerrit libraries can\nprovide wrappers around repository instance(for example global-refdb\nwraps repository with SharedRefDbRepository). This means that we\ncannot guarantee that repo object is the same instance for all\nChangeCacheKey entries. This will cause the constant cache entries\nreloading.\n\nBug: Issue 16638\nChange-Id: Ie86d249741cb1770b6ca22f2f7ed30655a142ed4\n", "tree_diff": [ { "type": "modify", "old_id": "9a6b0d64c941fc332c98256ba5b88d2cf3616b00", "old_mode": 33188, "old_path": "src/main/java/com/googlesource/gerrit/modules/gitrefsfilter/ChangeCacheKey.java", "new_id": "291ec65f9a04df73418c463ed39171039ba0f42e", "new_mode": 33188, "new_path": "src/main/java/com/googlesource/gerrit/modules/gitrefsfilter/ChangeCacheKey.java" }, { "type": "modify", "old_id": "1fd85c1e93e8a474425f76e76fa49380a94dac24", "old_mode": 33188, "old_path": "src/test/java/com/googlesource/gerrit/libmodule/plugins/test/GitRefsFilterTest.java", "new_id": "c47ebe7d7ef44f1f42354773476ba60c402d28b8", "new_mode": 33188, "new_path": "src/test/java/com/googlesource/gerrit/libmodule/plugins/test/GitRefsFilterTest.java" }, { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "eae362489bd959f08fcd3117133f80ad8b583508", "new_mode": 33188, "new_path": "src/test/java/com/googlesource/gerrit/modules/gitrefsfilter/ChangeCacheKeyTest.java" } ] }