)]}'
{
  "commit": "754a1b49224d5a977d4d155118862f50996a8622",
  "tree": "144fd9db269108c0496f19c86abc185840d865cc",
  "parents": [
    "91c9146224cf2f8c9053cf565fa292c983acaca0"
  ],
  "author": {
    "name": "Nitzan Gur-Furman",
    "email": "nitzan@google.com",
    "time": "Wed Nov 15 21:04:00 2023 +0100"
  },
  "committer": {
    "name": "Nitzan Gur-Furman",
    "email": "nitzan@google.com",
    "time": "Thu Nov 16 09:47:19 2023 +0100"
  },
  "message": "PatchApplier: wrap output\u0027s TemporaryBuffer with a CountingOutputStream\n\nThe documentation for TemporaryBuffer::length says:\n\"The length is only accurate after {@link #close()} has been invoked\".\nHowever, we need to have the stream open while accessing the length.\n\nThis prevents patches on large files to be applied correctly, as the\nresult get trimmed.\n\nBug: Google b/309500446\nChange-Id: Ic1540f6d0044088f3b46f1fad5f6a28ec254b711\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "64f2b006869d80e01be13feadcb04fd9e2512939",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/very_long_file.patch"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "72ef58f79decc5f747a38f45df119405262d61b4",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/very_long_file_PostImage"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "379a33cf2a32d8e647b3e1914f5b6c2efbc7e973",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/very_long_file_PreImage"
    },
    {
      "type": "modify",
      "old_id": "92d47c296677246de6b6562eaa5aefd88eab7294",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/patch/PatchApplierTest.java",
      "new_id": "2aac15bbb6347b8ea157214f75134cc2f8e8b9ce",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/patch/PatchApplierTest.java"
    },
    {
      "type": "modify",
      "old_id": "1edd85421a1fd93cad85c1237171f8f72873e704",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/patch/PatchApplier.java",
      "new_id": "a327095c814dd611927820096ac010c0364b8b9e",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/patch/PatchApplier.java"
    }
  ]
}
