Introduce is_bare_repository() and core.bare configuration variable
[gitweb.git] / git-clean.sh
index 3834323bcf479b7e01af4e1f247fb13aac423f90..071b974f496b8deff3a2d1b869c35d4f556dc17f 100755 (executable)
@@ -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