)]}'
{
  "commit": "1d31e5a2cd9f90799330d5095783e7b972357f0e",
  "tree": "4c4818b087c976b037874f9c8db057307aede563",
  "parents": [
    "7ba2ba7d12163a8f9a9947d7880bd26f2970d4c5"
  ],
  "author": {
    "name": "Michael J Gruber",
    "email": "git@drmicha.warpmail.net",
    "time": "Fri Nov 21 17:08:19 2014 +0100"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Nov 21 10:19:14 2014 -0800"
  },
  "message": "add: ignore only ignored files\n\n\"git add foo bar\" adds neither foo nor bar when bar is ignored, but dies\nto let the user recheck their command invocation. This becomes less\nhelpful when \"git add foo.*\" is subject to shell expansion and some of\nthe expanded files are ignored.\n\n\"git add --ignore-errors\" is supposed to ignore errors when indexing\nsome files and adds the others. It does ignore errors from actual\nindexing attempts, but does not ignore the error \"file is ignored\" as\noutlined above. This is unexpected.\n\nChange \"git add foo bar\" to add foo when bar is ignored, but issue\na warning and return a failure code as before the change.\n\nThat is, in the case of trying to add ignored files we now act the same\nway (with or without \"--ignore-errors\") in which we act for more\nsevere indexing errors when \"--ignore-errors\" is specified.\n\nSigned-off-by: Michael J Gruber \u003cgit@drmicha.warpmail.net\u003e\nReviewed-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ae6d3e262bcbb3dc57c0ddf146791380259b31be",
      "old_mode": 33188,
      "old_path": "builtin/add.c",
      "new_id": "1074e3234964deb279c3a487e9efd164afdb9c6c",
      "new_mode": 33188,
      "new_path": "builtin/add.c"
    },
    {
      "type": "modify",
      "old_id": "fe274e2fb14869314dfb21d563fd2c3f367365c8",
      "old_mode": 33261,
      "old_path": "t/t3700-add.sh",
      "new_id": "f7ff1f555d473ec1e7bd0f32d8d3c29426adc9f0",
      "new_mode": 33261,
      "new_path": "t/t3700-add.sh"
    }
  ]
}
