)]}'
{
  "commit": "db07dee0376b53bf65cd2b0948b46aadcc9e3cad",
  "tree": "ad21b685ba2e931277ce9640828686d44fa70d47",
  "parents": [
    "e65419d003188d7ebeaa218ffa5938231b9b1a7b"
  ],
  "author": {
    "name": "Ajay Gupta",
    "email": "ajagup@qti.qualcomm.com",
    "time": "Tue Nov 03 15:02:44 2026 +0530"
  },
  "committer": {
    "name": "Ajay Gupta",
    "email": "ajagup@qti.qualcomm.com",
    "time": "Thu Nov 05 06:51:54 2026 +0530"
  },
  "message": "Use the commit-graph for mergeability checks\n\nCodeReviewRevWalk overrode RevWalk.createCommit(AnyObjectId), which\nbypasses JGit\u0027s graph-backed commit creation, so every commit was read\nand inflated from the object database even when a commit-graph exists.\nOverride createCommit(AnyObjectId, int) instead and pass the graph\nposition through to RevCommit.\n\nMergeability dry runs (the mergeability cache and the conflicts:\nquery operator) do not use commit messages, so also disable body\nretention there, which lets JGit skip reading commits found in the\ngraph.\n\nCold GET .../mergeable for 30 changes on a repository with 11.6k\ncommits and a commit-graph: 4.7 s before, 2.6 s after.\n\nRelease-Notes: Made mergeability checks (GET .../mergeable, change reindexing, conflicts: queries) faster on repositories with a commit-graph\nChange-Id: I7c1d0a3e5b9f2468ace0135d7f9b2c4e6a8d0f13",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8ffd40ab0f824788b6737c138a5b2303fb476788",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/server/change/MergeabilityCacheImpl.java",
      "new_id": "79618bfa566d7c7dc28d169c66739924c7227d8c",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/server/change/MergeabilityCacheImpl.java"
    },
    {
      "type": "modify",
      "old_id": "9c057633b5a8653f079d0ddbe0d98b9a4a3b0fb0",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/server/git/CodeReviewCommit.java",
      "new_id": "2074863400514b6792c1697821422c01af20f918",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/server/git/CodeReviewCommit.java"
    },
    {
      "type": "modify",
      "old_id": "9676a0359923b7830db4571efb12557e658be324",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/server/query/change/ConflictsPredicate.java",
      "new_id": "8dda1c45b18b9d0372548777ce8fc6513bd3ec3c",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/server/query/change/ConflictsPredicate.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "32d3e5b26cc570bde6cca5e4a76e7f3cbbd15c22",
      "new_mode": 33188,
      "new_path": "javatests/com/google/gerrit/server/git/CodeReviewCommitGraphTest.java"
    }
  ]
}
