)]}'
{
  "commit": "5e2dfde456dce97328c70bc88ac61951c64fd40a",
  "tree": "b04bd314c120b16e7629346eacaf1aacb569fa0e",
  "parents": [
    "6c3b52d567527191f104fb859fd40a5223b0b59e"
  ],
  "author": {
    "name": "ifrade",
    "email": "ifrade@google.com",
    "time": "Thu Sep 03 14:11:33 2026 -0700"
  },
  "committer": {
    "name": "ifrade",
    "email": "ifrade@google.com",
    "time": "Thu Sep 03 16:28:07 2026 -0700"
  },
  "message": "CommitGraphWriter: Write correct version in commit-graph changePathFilters\n\nThe header of the changePathFilter section says that the filters are\nversion 1, but they are calculated with the version 2 of the hash. So\nfar this hasn\u0027t been a problem for JGit because it doesn\u0027t check\nversions while loading, but it will be once we move to the new\nchangedPathVersion config, that can request a specific version of the\nfilters. Note that this also breaks compatibility with cgit.\n\nWrite the correct version number in the file. This shouldn\u0027t break\nanything, as it is not check at loading time, and it fixes the\ninteroperability with cgit.\n\nMore context: while implementing the bloom filters in JGit we found a\nbug in the hash calculation of cgit. cgit fixed it and bump its\nversion to v2. JGit implemented directly the fixed version (v2) but in\nthe file claims to use v1.\n\nChange-Id: Ic8c06a0597140bc97e0b8398c314fb196a6a6964\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ad3ce50181fbf6cf53187c95942e3e9dfc5e8e3a",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/ChangedPathFilter.java",
      "new_id": "c48bbe466927e97195182317eccc6ab941941dea",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/ChangedPathFilter.java"
    },
    {
      "type": "modify",
      "old_id": "45ca4703c0d2497f5772175d3ac9cab07fcf44e7",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphWriter.java",
      "new_id": "c25e1149db4233b245779f31ebf0fc2de3702014",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphWriter.java"
    }
  ]
}
