Thread (10 messages) flat view 10 messages, 3 authors, 2021-09-21

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

From: Taylor Blau <hidden>
Date: 2021-09-21 02:57:58

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/ (local)
Thanks,
Taylor
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help