From: Alexandre Julliard Date: Sat, 6 Jan 2007 10:19:44 +0000 (+0100) Subject: git-clean: Fix the -q option. X-Git-Tag: v1.5.0-rc1~82 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e6d7b2f62e52c95c47b078f786705ef9ff8f43c2;p=git.git git-clean: Fix the -q option. The 'quiet' flag is set by -q, but it's not used anywhere. Remove it and set the 'echo1' variable instead. Signed-off-by: Alexandre Julliard Signed-off-by: Junio C Hamano --- diff --git a/git-clean.sh b/git-clean.sh index 3834323bc..071b974f4 100755 --- a/git-clean.sh +++ b/git-clean.sh @@ -18,7 +18,6 @@ SUBDIRECTORY_OK=Yes ignored= ignoredonly= cleandir= -quiet= rmf="rm -f --" rmrf="rm -rf --" rm_refuse="echo Not removing" @@ -31,14 +30,13 @@ do cleandir=1 ;; -n) - quiet=1 rmf="echo Would remove" rmrf="echo Would remove" rm_refuse="echo Would not remove" echo1=":" ;; -q) - quiet=1 + echo1=":" ;; -x) ignored=1