Add clean.requireForce option, and add -f option to git-clean to override it
commit2122591b3b5c6d93d3052a3151afcfa3146ede84
authorJosh Triplett <josh@freedesktop.org>
Tue, 24 Apr 2007 00:18:16 +0000 (23 17:18 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 24 Apr 2007 05:13:50 +0000 (23 22:13 -0700)
tree59d0c98999b5021f2e9816d01fdc0d4efbdd079c
parentab69e89c7e95f309564c3967222bd39f0587a74c
Add clean.requireForce option, and add -f option to git-clean to override it

Add a new configuration option clean.requireForce.  If set, git-clean will
refuse to run, unless forced with the new -f option, or not acting due to -n.

Signed-off-by: Josh Triplett <josh@freedesktop.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/config.txt
Documentation/git-clean.txt
contrib/completion/git-completion.bash
git-clean.sh