Re: [PATCH] clean: confirm before cleaning files and directories
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Apr 26, 2013, 08:21 UTC
- Message-ID
- <vpqfvydhfbx.fsf@grenoble-inp.fr>
- In-Reply-To
- <1826d070612808b301f9295838e226e02d8097ad.1366963586.git.worldhello.net@gmail.com>
Jiang Xin <worldhello.net@gmail.com> writes:
> * run `git clean` in interactive sessions, > * not a dry run, > * and not quiet.
Err, does this mean I'll have:
$ git clean fatal: clean.requireForce defaults to true and neither -n nor -f given; refusing to clean $ git clean --force Are you sure [y/n]?
An optional confirmation dialog seems interesting, but activating it by default even with --force seems really weird.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/