)]}'
{
  "commit": "d89f09c8289a764f0a974e02bd5b38cf60d1a7d7",
  "tree": "cd5b449c3ac6924fa91fd8a3380018b2ed622faf",
  "parents": [
    "bab3c3590879c5680060a5d5e2b93b4f97519025"
  ],
  "author": {
    "name": "Derrick Stolee",
    "email": "dstolee@microsoft.com",
    "time": "Thu Nov 21 22:04:35 2019 +0000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Nov 22 16:11:43 2019 +0900"
  },
  "message": "clone: add --sparse mode\n\nWhen someone wants to clone a large repository, but plans to work\nusing a sparse-checkout file, they either need to do a full\ncheckout first and then reduce the patterns they included, or\nclone with --no-checkout, set up their patterns, and then run\na checkout manually. This requires knowing a lot about the repo\nshape and how sparse-checkout works.\n\nAdd a new \u0027--sparse\u0027 option to \u0027git clone\u0027 that initializes the\nsparse-checkout file to include the following patterns:\n\n\t/*\n\t!/*/\n\nThese patterns include every file in the root directory, but\nno directories. This allows a repo to include files like a\nREADME or a bootstrapping script to grow enlistments from that\npoint.\n\nDuring the \u0027git sparse-checkout init\u0027 call, we must first look\nto see if HEAD is valid, since \u0027git clone\u0027 does not have a valid\nHEAD at the point where it initializes the sparse-checkout. The\nfollowing checkout within the clone command will create the HEAD\nref and update the working directory correctly.\n\nSigned-off-by: Derrick Stolee \u003cdstolee@microsoft.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "34011c2940ad4b4d3115e3ddc41f18f8a00ecd01",
      "old_mode": 33188,
      "old_path": "Documentation/git-clone.txt",
      "new_id": "0fe91d2f04766b69a66c4f5bf0ceb5aabd2ba868",
      "new_mode": 33188,
      "new_path": "Documentation/git-clone.txt"
    },
    {
      "type": "modify",
      "old_id": "c46ee29f0ad57958199804ab4fd4bef209bb0bc6",
      "old_mode": 33188,
      "old_path": "builtin/clone.c",
      "new_id": "4348d962c9c81e4f6681eb53163b4f1278952153",
      "new_mode": 33188,
      "new_path": "builtin/clone.c"
    },
    {
      "type": "modify",
      "old_id": "fcf97e9df8ec0d314d84a8f1166e87f06d5d0ce2",
      "old_mode": 33188,
      "old_path": "builtin/sparse-checkout.c",
      "new_id": "e3418fbe2a6b3e2e2481e7395daad7c1c123a9da",
      "new_mode": 33188,
      "new_path": "builtin/sparse-checkout.c"
    },
    {
      "type": "modify",
      "old_id": "21143c529c698fea641e26e9bfd4313fed278ded",
      "old_mode": 33261,
      "old_path": "t/t1091-sparse-checkout-builtin.sh",
      "new_id": "78c20cb7e342f7df3d2aba7a60820c9aad4fb069",
      "new_mode": 33261,
      "new_path": "t/t1091-sparse-checkout-builtin.sh"
    }
  ]
}
