@matheusbsbs / matheus-bagliano / commits / e6d7b2f62e
Fork 0

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>

Alexandre Julliard committed Jan 6, 2007 at 11:19 UTC e6d7b2f62e52c95c47b078f786705ef9ff8f43c2
1 file changed +1 -3
git-clean.sh
+1 -3
@@ -18,7 +18,6 @@ SUBDIRECTORY_OK=Yes
18 ignored=
19 ignoredonly=
20 cleandir=
21 -quiet=
21 rmf="rm -f --"
22 rmrf="rm -rf --"
23 rm_refuse="echo Not removing"
@@ -31,14 +30,13 @@ do
30 cleandir=1
31 ;;
32 -n)
34 - quiet=1
33 rmf="echo Would remove"
34 rmrf="echo Would remove"
35 rm_refuse="echo Would not remove"
36 echo1=":"
37 ;;
38 -q)
41 - quiet=1
39 + echo1=":"
40 ;;
41 -x)
42 ignored=1