mirror of
https://gitlab.com/xonotic/xonotic
synced 2024-12-15 19:35:24 +00:00
by default, rm untracked files
This commit is contained in:
parent
ff0fe7591e
commit
45604a50d9
5
all
5
all
@ -902,6 +902,7 @@ case "$cmd" in
|
|||||||
# usage:
|
# usage:
|
||||||
# ./all clean [-m] [-f | -fu | -fU] [-r] [-D]
|
# ./all clean [-m] [-f | -fu | -fU] [-r] [-D]
|
||||||
# ./all clean --reclone
|
# ./all clean --reclone
|
||||||
|
found=false
|
||||||
while :; do
|
while :; do
|
||||||
if [ x"$1" = x"--reclone" ]; then
|
if [ x"$1" = x"--reclone" ]; then
|
||||||
force=true
|
force=true
|
||||||
@ -933,8 +934,12 @@ case "$cmd" in
|
|||||||
else
|
else
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
found=true
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
if ! $found; then
|
||||||
|
rmuntracked=true
|
||||||
|
fi
|
||||||
for d in $repos; do
|
for d in $repos; do
|
||||||
verbose cd "$d0/$d"
|
verbose cd "$d0/$d"
|
||||||
if $gotoupstream; then
|
if $gotoupstream; then
|
||||||
|
Loading…
Reference in New Issue
Block a user