Skip to content

Commit

Permalink
git-clean: Fix the -q option.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Julliard authored and Junio C Hamano committed Jan 6, 2007
1 parent f9e8a43 commit e6d7b2f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions git-clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ SUBDIRECTORY_OK=Yes
ignored=
ignoredonly=
cleandir=
quiet=
rmf="rm -f --"
rmrf="rm -rf --"
rm_refuse="echo Not removing"
Expand All @@ -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
Expand Down

0 comments on commit e6d7b2f

Please sign in to comment.