]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
now we also support ./all clean -FFFFFFFFFFFFFFFFFUUUUUUUUUUUUUUUU which does nothing
[xonotic/xonotic.git] / all
diff --git a/all b/all
index 26a302776e26e28588f4762ca315e83030ff93f2..ecf385bbf28056cd7ae7303e8c3582852d5126fd 100755 (executable)
--- a/all
+++ b/all
@@ -1138,7 +1138,7 @@ case "$cmd" in
                                                        # apply crlf, or other cleanup filters (non-behavioural changes)
                                                        git reset --hard
                                                        find . -type f -exec touch {} \;
-                                                       git commit -a --amend -c HEAD
+                                                       git commit -a --amend -C HEAD || true # don't fail if nothing to commit
 
                                                        echo "MERGING"
                                                        case ",`repoflags "$d"`," in
@@ -1221,6 +1221,17 @@ case "$cmd" in
                                rmuntracked=true
                        elif [ x"$X" = x"-D" ]; then
                                killbranches=true
+                       elif echo "$X" | grep '^-FFFF*UUUU*$' >/dev/null; then
+                               msg '        _____'
+                               msg '    ,--'\''-\P/`\  FFFFFFF'
+                               msg ' __/_    B/,-.\  FFFFFFF'
+                               msg ' /  _\  (//  O\\  FFFFFF'
+                               msg '| (O  `) _\._ _)\  FFFUU'
+                               msg '| |___/.^d0~~"\  \ UUUU'
+                               msg '|     |`~'\''     \ |  UUUU'
+                               msg '|     |    __,C>|| UUUU'
+                               msg '\    /_ ,-/,-'\''   |  UUUU'
+                               msg ' \\_ \_>~'\''      /  UUUU-'
                        else
                                break
                        fi