)]}'
{
  "commit": "d789fe2f4d8a6ca0c22108bed4e6e7a6e96d04dd",
  "tree": "5d4bb07af54fe3d4255e8a71c705fd063a648dae",
  "parents": [
    "5d5a0d537697480ae5a7d530bad283a972aadf52"
  ],
  "author": {
    "name": "kylezhao",
    "email": "kylezhao@tencent.com",
    "time": "Thu May 20 11:29:59 2021 +0800"
  },
  "committer": {
    "name": "Matthias Sohn",
    "email": "matthias.sohn@sap.com",
    "time": "Tue Feb 21 09:11:21 2023 +0100"
  },
  "message": "UploadPack: use allow-any-sha1-in-want configuration\n\nC git 2.11 supports setting the equivalent of RequestPolicy.ANY with\nuploadpack.allowAnySHA1InWant[1]. Parse this into TransportConfig and\nuse it from UploadPack.\n\nAdd additional tests for [2] and this change.\n\nWe can execute \"git clone --filter\u003dblob:none --no-checkout\" successfully\nwith config uploadPack.allowFilter is true. But when we checkout, the\ngit will fetch other missing objects required by the checkout(this is\nwhy we need this config).\n\nWhen both uploadPack.allowFilter and uploadPack.allowAnySHA1InWant are\ntrue, jgit will support partial clone. If you are using an extremely\nlarge monorepo, this feature can help. It allows users to work on an\nincomplete repo which reduces disk usage.\n\n[1] https://github.com/git/git/commit/f8edeaa05d8623a9f6dad408237496c51101aad8\n[2] change Id39771a6e42d8082099acde11249306828a053c0\n\nBug: 573390\nChange-Id: I8fe75f03bf1fea7c11e0d67c8637bd05dd1f9b89\nSigned-off-by: kylezhao \u003ckylezhao@tencent.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4ad7fa3149e9735457672e58b894ec7ba032458a",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackTest.java",
      "new_id": "0e97d7b155f0c3d337d69ec190338a7106935443",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackTest.java"
    },
    {
      "type": "modify",
      "old_id": "805166a40563184c326ad2447eeca8aa1d0337fa",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/transport/TransferConfig.java",
      "new_id": "064201a629372d49abf1f0e0262d64d9b5ee49ab",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/transport/TransferConfig.java"
    },
    {
      "type": "modify",
      "old_id": "38c7cb94bb579176779bc58f6baa15fc1c7866d7",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java",
      "new_id": "b64870647572d34b158afdd4f25339d0c7258eb0",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java"
    }
  ]
}
