./all clean --reclone

This commit is contained in:
Rudolf Polzer 2010-09-18 13:09:46 +02:00
parent da36e2366a
commit 20c8db330f

9
all
View File

@ -900,8 +900,15 @@ case "$cmd" in
killbranches=false
# usage:
# ./all clean [-m] [-f | -fu] [-r] [-D]
# ./all clean --reclone
while :; do
if [ x"$1" = x"-f" ]; then
if [ x"$1" = x"--reclone" ]; then
force=true
gotoupstream=true
gotomaster=true
rmuntracked=true
killbranches=true
elif [ x"$1" = x"-f" ]; then
force=true
elif [ x"$1" = x"-u" ]; then
gotoupstream=true