)]}'
{
  "commit": "f6039a9423d042d61fb4cfccb395bd04c4bd5322",
  "tree": "a985083a89d87ee18cc3d24a736468cdbaa7ff7c",
  "parents": [
    "d89f09c8289a764f0a974e02bd5b38cf60d1a7d7"
  ],
  "author": {
    "name": "Derrick Stolee",
    "email": "dstolee@microsoft.com",
    "time": "Thu Nov 21 22:04:36 2019 +0000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Nov 22 16:11:43 2019 +0900"
  },
  "message": "sparse-checkout: \u0027set\u0027 subcommand\n\nThe \u0027git sparse-checkout set\u0027 subcommand takes a list of patterns\nas arguments and writes them to the sparse-checkout file. Then, it\nupdates the working directory using \u0027git read-tree -mu HEAD\u0027.\n\nThe \u0027set\u0027 subcommand will replace the entire contents of the\nsparse-checkout file. The write_patterns_and_update() method is\nextracted from cmd_sparse_checkout() to make it easier to implement\n\u0027add\u0027 and/or \u0027remove\u0027 subcommands in the future.\n\nIf the core.sparseCheckout config setting is disabled, then enable\nthe config setting in the worktree config. If we set the config\nthis way and the sparse-checkout fails, then re-disable the config\nsetting.\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": "491be1345fa04b626bb63bf649505b69fc10e2e7",
      "old_mode": 33188,
      "old_path": "Documentation/git-sparse-checkout.txt",
      "new_id": "ca62669b8cd3381876c720f8fb57f1ae41341814",
      "new_mode": 33188,
      "new_path": "Documentation/git-sparse-checkout.txt"
    },
    {
      "type": "modify",
      "old_id": "e3418fbe2a6b3e2e2481e7395daad7c1c123a9da",
      "old_mode": 33188,
      "old_path": "builtin/sparse-checkout.c",
      "new_id": "95cbd0a42c71849eb64930abf8e0aa148ac098c5",
      "new_mode": 33188,
      "new_path": "builtin/sparse-checkout.c"
    },
    {
      "type": "modify",
      "old_id": "78c20cb7e342f7df3d2aba7a60820c9aad4fb069",
      "old_mode": 33261,
      "old_path": "t/t1091-sparse-checkout-builtin.sh",
      "new_id": "72d8bc5c2517cdf3f7b415dbb72e3a3bd4bd53ac",
      "new_mode": 33261,
      "new_path": "t/t1091-sparse-checkout-builtin.sh"
    }
  ]
}
