Re: [PATCH 2/3] sparse-checkout: add 'clean' command
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 9, 2025, 16:46 UTC
- Message-ID
- <xmqq5xg1cnwd.fsf@gitster.g>
- In-Reply-To
- <2503c79c-68f3-4ed5-bbfd-3a7af07a89cc@gmail.com>
Derrick Stolee <stolee@gmail.com> writes:
> A curious user may want to know "why are these directories still > around?" and the more verbose output would assist.
Understood. That one is what I was primarily after, as opposed to "These directories will be gone, as there is nothing interesting or worth saving", which I find much less interesting (and perhaps should only be shown with --verbose, as opposed to "this will be kept even though it is out of cone, as it contains these things that may worth saving", which I think is something the user would care more).
Show 5 quoted lines
>> I wonder if we need "-x" and/or "-X" options "clean" has (and >> perhaps "-d" that is a no-op, as the whole point of this subcommand >> is about removing directories from the working tree) to control its >> operation a bit finer-grained way. > I'm of two minds here.
Same here, and that is why I said "I wonder" ;-)