git-pickaxe: swap comparison loop used for -C
[gitweb.git] / git-clean.sh
index bb56264e046c906c529c712b36db239dd7ba99e9..3834323bcf479b7e01af4e1f247fb13aac423f90 100755 (executable)
@@ -19,8 +19,8 @@ ignored=
 ignoredonly=
 cleandir=
 quiet=
-rmf="rm -f"
-rmrf="rm -rf"
+rmf="rm -f --"
+rmrf="rm -rf --"
 rm_refuse="echo Not removing"
 echo1="echo"