]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
./all clean --reclone
authorRudolf Polzer <divverent@alientrap.org>
Sat, 18 Sep 2010 11:09:46 +0000 (13:09 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 18 Sep 2010 11:09:46 +0000 (13:09 +0200)
all

diff --git a/all b/all
index e4eb461fb810ff5a43a5152c44e27b014935a29f..12e4501f82fd92aabf5797b47691342d80b9271b 100755 (executable)
--- a/all
+++ b/all
@@ -900,8 +900,15 @@ case "$cmd" in
                killbranches=false
                # usage:
                #   ./all clean [-m] [-f | -fu] [-r] [-D]
                killbranches=false
                # usage:
                #   ./all clean [-m] [-f | -fu] [-r] [-D]
+               #   ./all clean --reclone
                while :; do
                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
                                force=true
                        elif [ x"$1" = x"-u" ]; then
                                gotoupstream=true