)]}'
{
  "commit": "78cc1a540ba127b13f2f3fd531777b57f3a9cd46",
  "tree": "9f4d294accbb456727dad9dc231afc862d535433",
  "parents": [
    "d95d728aba06a34394d15466045cbdabdada58a2"
  ],
  "author": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Jun 23 10:27:47 2015 -0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Jun 23 10:37:21 2015 -0700"
  },
  "message": "Revert \"diff-lib.c: adjust position of i-t-a entries in diff\"\n\nThis reverts commit d95d728aba06a34394d15466045cbdabdada58a2.\n\nIt turns out that many other commands that need to interact with the\nresult of running diff-files and diff-index, e.g.  \"git apply\", \"git\nrm\", etc., need to be adjusted to the new world order it brings in.\nFor example, it would break this sequence to correct a whitespace\nbreakage in the parts you changed:\n\n\tgit add -N file\n\tgit diff --cached file | git apply --cached --whitespace\u003dfix\n\tgit checkout file\n\nIn the old world order, \"diff\" showed a patch to modify an existing\nempty file by adding its full contents, and \"apply\" updated the\nindex by modifying the existing empty blob (which is what an\nIntent-to-Add entry records in the index) with that patch.\n\nIn the new world order, \"diff\" shows a patch to create a new file\nwith its full contents, but because \"apply\" thinks that the i-t-a\nentry already exists in the index, it refused to accept a creation.\n\nAdjusting \"apply\" to this new world order is easy, but we need to\nassess the extent of the damage to the rest of the system the new\nworld order brought in before going forward and adjust them all,\nafter which we can resurrect the commit being reverted here.\n\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ee370b059adfd106c70e2c4aa4df50663cb4a8ec",
      "old_mode": 33188,
      "old_path": "builtin/add.c",
      "new_id": "3390933d68b2dd6c7296a7d2103d009fa27f2ca8",
      "new_mode": 33188,
      "new_path": "builtin/add.c"
    },
    {
      "type": "modify",
      "old_id": "714501a7a3e13129d9de3a57b5e4637c18449f48",
      "old_mode": 33188,
      "old_path": "diff-lib.c",
      "new_id": "a85c4971ac8ece6397c05d0674bbac8c75cf219f",
      "new_mode": 33188,
      "new_path": "diff-lib.c"
    },
    {
      "type": "modify",
      "old_id": "7c641bfaf4565a97942a91793370da0ca6285fc3",
      "old_mode": 33261,
      "old_path": "t/t2203-add-intent.sh",
      "new_id": "2a4a749b4fa3b07963a18b645d29ef774c01bbd1",
      "new_mode": 33261,
      "new_path": "t/t2203-add-intent.sh"
    },
    {
      "type": "modify",
      "old_id": "7452fce0da94a257f289a9fad1e9d24dd1509195",
      "old_mode": 33261,
      "old_path": "t/t4011-diff-symlink.sh",
      "new_id": "13e7f621ab79f95cc7c3057d9de5710813049102",
      "new_mode": 33261,
      "new_path": "t/t4011-diff-symlink.sh"
    }
  ]
}
