Re: [PATCH] clean: confirm before cleaning files and directories
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 26, 2013, 17:07 UTC
- Message-ID
- <7vppxhxltk.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <vpqzjwl9se7.fsf@grenoble-inp.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
> The nice thing with the confirmation dialog is that it shows the list > before asking (and unlike 'rm -i', it asks only once).
I wouldn't object to having "clean -i", which automatically defeats the requireforce option.
As to a huge single list you have to approve or reject as a whole, I am on the fence. When running "rm -i", I often wished to see something like that, but I am fairly sure that I'll call it unusable the first time I see a list with a few items I want to keep while removing all others.