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 <julliard@winehq.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
f9e8a43a00
commit
e6d7b2f62e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user