)]}'
{
  "commit": "bf0b64f1047f2555ee66c5dd8df1e20769879e8a",
  "tree": "4951c4862c43daafc92a9a3145568ea647c53491",
  "parents": [
    "f859a1f6cf6177edac6b4d5231b7e575358b8291"
  ],
  "author": {
    "name": "ifrade",
    "email": "ifrade@google.com",
    "time": "Mon Aug 31 14:08:23 2026 -0700"
  },
  "committer": {
    "name": "ifrade",
    "email": "ifrade@google.com",
    "time": "Wed Sep 09 11:45:19 2026 -0700"
  },
  "message": "CommitGraphLoader: control CPF reading with an int\n\nThe commit graph loader follows the deprecated \"readChangedPaths\" flag\n(boolean) to control the loading of the changed path filters\n(CPF). Now there is a \"changedPathsVersions\" flag [1] with more values\nto control this behavior (0 to ignore, -1 to load any version, n to\nload version N).\n\nUpdate the CommitGraphLoader.load() parameter from boolean to int and\nfollow the changedPathsVersion semantics. We translate callers from\n\"false\" to 0 and \"true\" to -1, so this should be a no-op.\n\nJGit has been writing CPF with version 2 in files tagged as version 1\n(fixed in [2]). At reading time we cannot know if the v1 file has been\nwritten from cgit (real v1) or jgit (mislabelled v2). To avoid\nconfusion, asking for v1 is not supported and disables the reading.\n\n[1] https://git-scm.com/docs/git-commit-graph/2.55.0#Documentation/git-commit-graph.txt-commitGraphreadChangedPaths\n[2] https://gerrithub.io/c/eclipse-jgit/jgit/+/1248257\n\nChange-Id: I818f2bef78417d0b3c4bc7c399a527dc6a6a6964\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4d05360252757e370276139c96c04035f8b8496c",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphTest.java",
      "new_id": "fd4838e73ba87d43e6d5c0bad3690f5de62c73b5",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphTest.java"
    },
    {
      "type": "modify",
      "old_id": "7e9220dc0df6e7bf7795af69aba6c6ea8930d111",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphLoader.java",
      "new_id": "d05aaefbda435d56ead4b21885ddbf88e6e59b7e",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphLoader.java"
    },
    {
      "type": "modify",
      "old_id": "dc7f320093beed6394dffd5b5050a08cec740176",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java",
      "new_id": "530f3edf1fd23c609b062a3df953a49af2088a64",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java"
    }
  ]
}
