)]}'
{
  "commit": "7968bef06b750fe9c59c1e1d0573bffc5b3cd94f",
  "tree": "3c85aabdf72839cf3b414fe260aaca5540561add",
  "parents": [
    "e342c63a4e070bd1398b9aa86ac4ce917edbadc7"
  ],
  "author": {
    "name": "Nguyễn Thái Ngọc Duy",
    "email": "pclouds@gmail.com",
    "time": "Fri Mar 29 17:39:11 2019 +0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Apr 02 13:57:00 2019 +0900"
  },
  "message": "switch: only allow explicit detached HEAD\n\n\"git checkout \u003ccommit\u003e\" will checkout the commit in question and\ndetach HEAD from the current branch. It is naturally a right thing to\ndo once you get git references. But detached HEAD is a scary concept\nto new users because we show a lot of warnings and stuff, and it could\nbe hard to get out of (until you know better).\n\nTo keep switch a bit more friendly to new users, we only allow\nentering detached HEAD mode when --detach is given. \"git\nswitch\" must take a branch (unless you create a new branch,\nthen of course switch can take any commit-ish)\n\nSigned-off-by: Nguyễn Thái Ngọc Duy \u003cpclouds@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e9dfe38d69d46b11b271995a7d68cf18db4795a1",
      "old_mode": 33188,
      "old_path": "builtin/checkout.c",
      "new_id": "4416b82bfde3f629e227d098739fa1ff8ee261e5",
      "new_mode": 33188,
      "new_path": "builtin/checkout.c"
    }
  ]
}
