git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/3] sparse-checkout: clear patterns when switching modes

From
Taylor Blau <me@ttaylorr.com>
Date
Sep 20, 2021, 18:54 UTC
Message-ID
<YUjYyY+1IXOJYvgk@nand.local>
In-Reply-To
<YUjYZNqvvxVRctJQ@nand.local>
On Mon, Sep 20, 2021 at 02:52:20PM -0400, Taylor Blau wrote:
> See my message at [1] for some more details about a possible suggestion
> there.

OK, I see that in the third patch we do start complaining about adding patterns in cone-mode when the existing sparse checkout configuration does not form a cone.

So that may indicate that we expect users who wish to blow away their configuration to just run "init --cone". I'd be OK with that (without an additional warning step, although I think that doing that would be better). But either way, we should document this behavior clearly.

> [1]: https://lore.kernel.org/git/YUi55%2F3L9nizTVyA@nand.local/

Thanks, Taylor

Previous: Taylor BlauNext: Derrick Stolee via GitGitGadget
Message 8 of 10 in “Sparse checkout: fix mixed-mode pattern issues”
  1. 0/3 Sparse checkout: fix mixed-mode pattern issuesDerrick Stolee via GitGitGadget, Sep 20, 2021
  2. 1/3 sparse-checkout: fix OOM error with mixed patternsDerrick Stolee via GitGitGadget, Sep 20, 2021
  3. Taylor BlauSep 20, 2021
  4. Derrick StoleeSep 21, 2021
  5. Taylor BlauSep 21, 2021
  6. 2/3 sparse-checkout: clear patterns when switching modesDerrick Stolee via GitGitGadget, Sep 20, 2021
  7. Taylor BlauSep 20, 2021
  8. Taylor BlauSep 20, 2021
  9. 3/3 sparse-checkout: refuse to add to bad patternsDerrick Stolee via GitGitGadget, Sep 20, 2021
  10. Taylor BlauSep 20, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.