)]}'
{
  "commit": "c83e8c1768b1dbce98a3161aec175a42858d4795",
  "tree": "8aac614d590a04ab661558614f1556f6fc9e2e7b",
  "parents": [
    "05efb7b7575dd60a5997a0f7616d0cc222c5dbf8"
  ],
  "author": {
    "name": "Stefan Beller",
    "email": "stefanbeller@googlemail.com",
    "time": "Sat Aug 03 13:51:23 2013 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Wed Aug 07 08:30:55 2013 -0700"
  },
  "message": "hash-object: replace stdin parsing OPT_BOOLEAN by OPT_COUNTUP\n\nThis task emerged from b04ba2bb (parse-options: deprecate OPT_BOOLEAN,\n2011-09-27). hash-object is a plumbing layer command, so better\nnot change the input/output behavior for now.\n\nUnfortunately we have these lines relying on the count up mechanism of\nOPT_BOOLEAN:\n\n\tif (hashstdin \u003e 1)\n\t\terrstr \u003d \"Multiple --stdin arguments are not supported\";\n\nUsing OPT_BOOL will make \"git hash-object --stdin --stdin\" the same\nas \"git hash-object --stdin\", resulting in just one object, which\nwill surprise users with an expectation to see two objects hashed.\n\nBecause it is not good to silently succeed and give an unexpected\nresult, even when the expectation is unrealistic, we use COUNTUP to\nexplicitly catch such an error.\n\nSigned-off-by: Stefan Beller \u003cstefanbeller@googlemail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4aea5bbd80207d08f5fa87fc77a91a8374d520bd",
      "old_mode": 33188,
      "old_path": "builtin/hash-object.c",
      "new_id": "d7fcf4c13c7e0f0855fba51c6b58d2b06c99984e",
      "new_mode": 33188,
      "new_path": "builtin/hash-object.c"
    }
  ]
}
