)]}'
{
  "commit": "4c28e4ada03f5440251545cf91e0d81bce9b010d",
  "tree": "f915e6291e3a94d8c67fbbe190b7f5dcb193e84e",
  "parents": [
    "4579bb418c2995a8459de7dba42b63a26006f9a6"
  ],
  "author": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Mon Dec 20 17:00:36 2010 -0800"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Mon Dec 20 17:45:51 2010 -0800"
  },
  "message": "commit: die before asking to edit the log message\n\nWhen determine_author_info() returns to the calling prepare_to_commit(),\nwe already know the pieces of information necessary to determine what\nauthor ident will be used in the final message, but deferred making a call\nto fmt_ident() before the final commit_tree().  Most importantly, we would\nopen the editor to ask the user to compose the log message before it.\n\nAs one important side effect of fmt_ident() is to error out when the given\ninformation is malformed, this resulted in us spawning the editor first\nand then refusing to commit due to error, even though we had enough\ninformation to detect the error before starting the editor, which was\nannoying.\n\nMove the fmt_ident() call to the end of determine_author_info() where we\nhave final determination of author info to rectify this.\n\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "66fdd2202495b2893c79b4f92b0fc2e715f5b7bb",
      "old_mode": 33188,
      "old_path": "builtin/commit.c",
      "new_id": "3bcb4b7ec040c4896593b75b3e574951891d016f",
      "new_mode": 33188,
      "new_path": "builtin/commit.c"
    }
  ]
}
