by default, rm untracked files

This commit is contained in:
Rudolf Polzer 2010-09-18 13:17:46 +02:00
parent ff0fe7591e
commit 45604a50d9

5
all
View File

@ -902,6 +902,7 @@ case "$cmd" in
# usage:
# ./all clean [-m] [-f | -fu | -fU] [-r] [-D]
# ./all clean --reclone
found=false
while :; do
if [ x"$1" = x"--reclone" ]; then
force=true
@ -933,8 +934,12 @@ case "$cmd" in
else
break
fi
found=true
shift
done
if ! $found; then
rmuntracked=true
fi
for d in $repos; do
verbose cd "$d0/$d"
if $gotoupstream; then