{"thread":{"id":"61209","subject":"Disabling sparse checkout cone config not appearing to have effect on git 2.43","startedAt":"2024-03-27T12:43:16Z","lastAt":"2024-03-27T12:43:16Z","messageCount":1,"participants":["Declan Snyder"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"491690","messageId":"AS4PR04MB93620325B032131979790EEEEB342@AS4PR04MB9362.eurprd04.prod.outlook.com","threadId":"61209","inReplyTo":null,"subject":"Disabling sparse checkout cone config not appearing to have effect on git 2.43","fromName":"Declan Snyder","fromEmail":"declan.snyder@nxp.com","sentAt":"2024-03-27T12:43:13Z","receivedAt":"2024-03-27T12:43:16Z","isPatch":false,"sender":{"key":"declan.snyder@nxp.com","avatar":null},"body":"Thank you for filling out a Git bug report!\nPlease answer the following questions to help us understand your issue.\n\nWhat did you do before the bug happened? (Steps to reproduce your issue)\nI did \"git config core.sparseCheckoutCone false\" to disable the cone pattern matching of sparse checkout.\nThen I did git sparse-checkout init with the sparse-checkout file in .git/info looking essentially like this:\n\n/*\n!A\n\nwhere A is a file in the top level of the repo. Clearly, this is not a valid cone pattern. Which is why I set it to false.\n\nWhat did you expect to happen? (Expected behavior)\n\nI expected the sparse checkout will happen and the file \"A\" will not be in the working index.\n\nWhat happened instead? (Actual behavior)\n\nThe command output warnings indicating that A is not a known pattern and that it was disabling cone pattern matching.\n\nWhat's different between what you expected and what actually happened?\n\nThe core.sparseCheckoutCone being set to false does not seem to have an effect.\n\nAnything else you want to add:\n\nPlease review the rest of the bug report below.\nYou can delete any lines you don't wish to share.\n\n\n[System Info]\ngit version:\ngit version 2.43.2\ncpu: x86_64\nno commit associated with this build\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nuname: Linux 6.5.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 x86_64\ncompiler info: gnuc: 11.4\nlibc info: glibc: 2.35\n$SHELL (typically, interactive shell): /bin/bash\n\n\n[Enabled Hooks]\npost-checkout\n"}]}