Re: [PATCH] Add clean.requireForce option, and add -f option to git-clean to override it
- From
- Michael Spang <mspang@uwaterloo.ca>
- Date
- Apr 24, 2007, 01:24 UTC
- Message-ID
- <462D5C4D.3050004@uwaterloo.ca>
- In-Reply-To
- <462D4CC8.70006@freedesktop.org>
Josh Triplett wrote:
> +if [ "$disabled" = true ]; then > + echo "clean.requireForce set and -n or -f not given; refusing to clean" > + exit 1 > +fi
How is it useful to abort completely? Wouldn't it be better to behave like -n unless -f is given?
Cheers, Michael Spang