)]}'
{
  "commit": "dcc5fd5fd26b71d75f9e70abd0e09e553b5f40ca",
  "tree": "855943176b91bc07b3889f2bd9c1a01843f34164",
  "parents": [
    "122ba1f7b52612e197db76aded1f9681b80f3085"
  ],
  "author": {
    "name": "Derrick Stolee",
    "email": "dstolee@microsoft.com",
    "time": "Tue Mar 30 13:11:01 2021 +0000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Mar 30 12:57:48 2021 -0700"
  },
  "message": "sparse-checkout: disable sparse-index\n\nWe use \u0027git sparse-checkout init --cone --sparse-index\u0027 to toggle the\nsparse-index feature. It makes sense to also disable it when running\n\u0027git sparse-checkout disable\u0027. This is particularly important because it\nremoves the extensions.sparseIndex config option, allowing other tools\nto use this Git repository again.\n\nThis does mean that \u0027git sparse-checkout init\u0027 will not re-enable the\nsparse-index feature, even if it was previously enabled.\n\nWhile testing this feature, I noticed that the sparse-index was not\nbeing written on the first run, but by a second. This was caught by the\ncall to \u0027test-tool read-cache --table\u0027. This requires adjusting some\nassignments to core_apply_sparse_checkout and pl.use_cone_patterns in\nthe sparse_checkout_init() logic.\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": "ca63e2c64e9595df0b52850e368e703ae20a4acf",
      "old_mode": 33188,
      "old_path": "builtin/sparse-checkout.c",
      "new_id": "585343fa1972ca3e34ad7a03df03e5edba507c6d",
      "new_mode": 33188,
      "new_path": "builtin/sparse-checkout.c"
    },
    {
      "type": "modify",
      "old_id": "fc64e9ed99f4bf0a94f5ea3bf8d783ed0bd7638a",
      "old_mode": 33261,
      "old_path": "t/t1091-sparse-checkout-builtin.sh",
      "new_id": "38fc8340f5c9b7bfd2ede379545af809c2e9e636",
      "new_mode": 33261,
      "new_path": "t/t1091-sparse-checkout-builtin.sh"
    }
  ]
}
