)]}'
{
  "commit": "65f099b3988198f0fdf3ef7a21dc01c556d21fff",
  "tree": "2bb6c87990ea5fb171ac395bbe1305dd41f26dbc",
  "parents": [
    "ccb111b342f472d12baddbfa5b52810da1725ffd"
  ],
  "author": {
    "name": "Nguyễn Thái Ngọc Duy",
    "email": "pclouds@gmail.com",
    "time": "Fri Mar 29 17:39:14 2019 +0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Apr 02 13:57:00 2019 +0900"
  },
  "message": "switch: no worktree status unless real branch switch happens\n\nWhen we switch from one branch to another, it makes sense to show a\nsummary of local changes since there could be conflicts, or some files\nleft modified.... When switch is used solely for creating a new\nbranch (and \"switch\" to the same commit) or detaching, we don\u0027t really\nneed to show anything.\n\n\"git checkout\" does it anyway for historical reasons. But we can start\nwith a clean slate with switch and don\u0027t have to.\n\nThis essentially reverts fa655d8411 (checkout: optimize \"git checkout\n-b \u003cnew_branch\u003e\" - 2018-08-16) and make it default for switch,\nbut also for -B and --detach. Users of big repos are encouraged to\nmove to switch.\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": "d6872ffa83ea5a715e0cc3b0e6dde77efafb026b",
      "old_mode": 33188,
      "old_path": "Documentation/config/checkout.txt",
      "new_id": "6b646813abadc95a969d5c20f6c4350a284bf129",
      "new_mode": 33188,
      "new_path": "Documentation/config/checkout.txt"
    },
    {
      "type": "modify",
      "old_id": "ff9b96993d2bd137bd1e639a817ece4ebed068a0",
      "old_mode": 33188,
      "old_path": "builtin/checkout.c",
      "new_id": "f7967cdb7c9eca20e40ba5edc2224c79f10f766f",
      "new_mode": 33188,
      "new_path": "builtin/checkout.c"
    },
    {
      "type": "modify",
      "old_id": "090b7fc3d35d1a46a18b8ae385a7cc1213e6650d",
      "old_mode": 33261,
      "old_path": "t/t1090-sparse-checkout-scope.sh",
      "new_id": "40cc004326e2f0f66b74e2fbfa7d8a5cc21363a4",
      "new_mode": 33261,
      "new_path": "t/t1090-sparse-checkout-scope.sh"
    }
  ]
}
