Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-clean: Fix the -q option.
author
Alexandre Julliard
<julliard@winehq.org>
Sat, 6 Jan 2007 10:19:44 +0000
(11:19 +0100)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 6 Jan 2007 18:44:40 +0000
(10:44 -0800)
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>
git-clean.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
f9e8a43
)
diff --git
a/git-clean.sh
b/git-clean.sh
index 3834323bcf479b7e01af4e1f247fb13aac423f90..071b974f496b8deff3a2d1b869c35d4f556dc17f 100755
(executable)
--- 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