)]}'
{
  "commit": "bae5784c7610cc69fbae055a3566ca23d9ed79da",
  "tree": "bdd8a346db3cc17bf9c6e462e2f8a3ba757d3427",
  "parents": [
    "5673af28f8c45e0212c09116ddf00900ae4487e1"
  ],
  "author": {
    "name": "Ivan Frade",
    "email": "ifrade@google.com",
    "time": "Thu Nov 19 16:26:46 2026 -0800"
  },
  "committer": {
    "name": "ifrade",
    "email": "ifrade@google.com",
    "time": "Fri Nov 20 10:30:10 2026 -0800"
  },
  "message": "ObjectFormat: enum to support different hashes\n\nMany places in the code assume SHA1 constants, e.g. assuming a fixed\nlength of the object id. This makes the move to SHA256 a big change\nall over the codebase. We can do this in an incremental fashion\nabstracting first the hash-specific code.\n\nMove all the hash-related data (constants and methods) to an immutable\ninstance. We can move then the code to use SHA1.x() and later make it\nsupport any ObjectFormat.\n\nBased-on: Xing Huang \u003cxingkhuang@google.com\u003e\nChange-Id: If609d4034c1e60c36c0b87504ce6a5766a6a6964\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c43662ab44447d7ec5d2b257e101286bf7e30a31",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ObjectFormatObjectDigestTest.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "43ac7a764559a68fa3c6a5c0565ca234e9314212",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ObjectFormatTest.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "180918695dd1fa641df2b1abeed15c21504f2b5c",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectFormat.java"
    }
  ]
}
