)]}'
{
  "commit": "3473ad0cf6c90917813aba978dada6c10352baaa",
  "tree": "a9da5a1234c09008f816b9d1e7e25a82882949e2",
  "parents": [
    "6cfbdcb2ab70b238fca9b3811f5b58368fd077c6"
  ],
  "author": {
    "name": "Dennis Kaarsemaker",
    "email": "dennis@kaarsemaker.net",
    "time": "Sun Nov 30 15:24:56 2014 +0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Mon Dec 01 11:00:18 2014 -0800"
  },
  "message": "checkout: don\u0027t require a work tree when checking out into a new one\n\nFor normal use cases, it does not make sense for \u0027checkout\u0027 to work on\na bare repository, without a worktree. But \"checkout --to\" is an\nexception because it _creates_ a new worktree. Allow this option to\nrun on bare repositories.\n\nPeople who check out from a bare repository should remember that\ncore.logallrefupdates is off by default and it should be turned back\non. `--to` cannot do this automatically behind the user\u0027s back because\nsome user may deliberately want no reflog.\n\nFor people interested in repository setup/discovery code,\nis_bare_repository_cfg (aka \"core.bare\") is unchanged by this patch,\nwhich means \u0027true\u0027 by default for bare repos. Fortunately when we get\nthe repo through a linked checkout, is_bare_repository_cfg is never\nused. So all is still good.\n\n[nd: commit message]\n\nSigned-off-by: Dennis Kaarsemaker \u003cdennis@kaarsemaker.net\u003e\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": "5dfdbda1a6bc248e86ebdc3f951f73c4a29fd192",
      "old_mode": 33188,
      "old_path": "builtin/checkout.c",
      "new_id": "8c5276cf443f5d1e84cd5fd34e5f899afd3e58b6",
      "new_mode": 33188,
      "new_path": "builtin/checkout.c"
    },
    {
      "type": "modify",
      "old_id": "18fbf79430687a473e9306f2bb65abbaec161bb4",
      "old_mode": 33188,
      "old_path": "git.c",
      "new_id": "160896a9439007b1ca110b56bac327d3b0e6af3d",
      "new_mode": 33188,
      "new_path": "git.c"
    },
    {
      "type": "modify",
      "old_id": "e2db07859b36d752bb0784918f9e1571a150a4f8",
      "old_mode": 33261,
      "old_path": "t/t2025-checkout-to.sh",
      "new_id": "4bd1df4899c043a768ee2a45964c458254a6ec30",
      "new_mode": 33261,
      "new_path": "t/t2025-checkout-to.sh"
    }
  ]
}
