提交 e6d7b2f6 编写于 作者: A Alexandre Julliard 提交者: Junio C Hamano

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: NAlexandre Julliard <julliard@winehq.org>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 f9e8a43a
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册