)]}'
{
  "commit": "ed178ef13a26136d86ff4e33bb7b1afb5033f908",
  "tree": "9f938feddf21fa4a73cfa243d46ecb54639176c0",
  "parents": [
    "88bab59c5bf8de2a1577c3134f4dff1e225409e2"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Wed Apr 22 15:31:02 2015 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Wed Apr 22 13:38:58 2015 -0700"
  },
  "message": "stash: require a clean index to apply\n\nIf you have staged contents in your index and run \"stash\napply\", we may hit a conflict and put new entries into the\nindex. Recovering to your original state is difficult at\nthat point, because tools like \"git reset --keep\" will blow\naway anything staged.  We can make this safer by refusing to\napply when there are staged changes.\n\nIt\u0027s possible we could provide better tooling here, as \"git\nstash apply\" should be writing only conflicts to the index\n(so we know that any stage-0 entries are potentially\nprecious). But it is the odd duck; most \"mergy\" commands\nwill update the index for cleanly merged entries, and it is\nnot worth updating our tooling to support this use case\nwhich is unlikely to be of interest (besides which, we would\nstill need to block a dirty index for \"stash apply --index\",\nsince that case _would_ be ambiguous).\n\nSigned-off-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d4cf818be9488f1b94fdf4766a8f73db6bfd1029",
      "old_mode": 33261,
      "old_path": "git-stash.sh",
      "new_id": "cc28368b01fc218f32ae98c21cce4d7f84c68eb0",
      "new_mode": 33261,
      "new_path": "git-stash.sh"
    },
    {
      "type": "modify",
      "old_id": "f179c93ddfade2034273ab15ad2054c36ad313b2",
      "old_mode": 33261,
      "old_path": "t/t3903-stash.sh",
      "new_id": "0746eeeff70c29c91accacdfa1efa4bc2e612715",
      "new_mode": 33261,
      "new_path": "t/t3903-stash.sh"
    }
  ]
}
