)]}'
{
  "commit": "f76f88ecf76c119726f620d193f092f1c8f13005",
  "tree": "605dfbe49b4109b2230b8e491f1766c92dfaf4e4",
  "parents": [
    "8c0d9a9599eb4a350c340592e1b29483cedfd8b2"
  ],
  "author": {
    "name": "Edwin Kempin",
    "email": "ekempin@google.com",
    "time": "Wed Dec 03 15:38:12 2025 +0000"
  },
  "committer": {
    "name": "Edwin Kempin",
    "email": "ekempin@google.com",
    "time": "Wed Dec 03 15:46:27 2025 +0000"
  },
  "message": "Avoid computing file diffs when evalution code owner approvals\n\nTo evaluate code owner approvals on a change we need to know which files\nhave been changed. So far we retrieved the changed files from the diff\ncache, which means file diffs are being computed when they are not\ncached yet (or when their cache entry has expired). Computing files diff\nfor changes that touch many files (e.g. \u003e 70k files) can take \u003e 15min.\nSince the code owner approval evaluation only needs to know which files\nhave changed, computing the file diffs seems unnecessary. DiffOperations\nhas a new method that allows to get the modified files without computing\nthe file diffs and with this change we are using it to get the changed\nfiles instead of getting them from the diff cache. For the evalution of\ncode owner approvals detecting renames is important (because renamed\nfiles require an approval on the old and the new path), hence the\nrename detection must be enabled.\n\nBug: Google b/461456634\nChange-Id: I45c7e61832be45676ef0ceae5044990cfdf469e0\nSigned-off-by: Edwin Kempin \u003cekempin@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "07b42bcb8b4ca5d66122df9c1ca5299e5f8a4c4f",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/plugins/codeowners/backend/ChangedFiles.java",
      "new_id": "f0723bc8fe0923794cbabea27cb984e731c26a65",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/plugins/codeowners/backend/ChangedFiles.java"
    }
  ]
}
