summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Julliard <julliard@winehq.org>2007-01-06 10:19:44 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-06 18:44:40 (GMT)
commite6d7b2f62e52c95c47b078f786705ef9ff8f43c2 (patch)
treedabc271bc389a7d5e620ce4f7fdf09a955036150
parentf9e8a43a007e81b564516576550a505967389942 (diff)
downloadgit-e6d7b2f62e52c95c47b078f786705ef9ff8f43c2.zip
git-e6d7b2f62e52c95c47b078f786705ef9ff8f43c2.tar.gz
git-e6d7b2f62e52c95c47b078f786705ef9ff8f43c2.tar.bz2
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>
-rwxr-xr-xgit-clean.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/git-clean.sh b/git-clean.sh
index 3834323..071b974 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