empty commits won't do. Instead, adding the synonym "switch" to checkout.
authorxonotic <xonotic@git.xonotic.org>
Wed, 24 Mar 2010 14:09:55 +0000 (15:09 +0100)
committerxonotic <xonotic@git.xonotic.org>
Wed, 24 Mar 2010 14:09:55 +0000 (15:09 +0100)
all

diff --git a/all b/all
index 67386bcbb9086aa115de93f9461d9b288680f4c1..bfca7a2b69e472769d186d3cc85e1dd3bd62fa1c 100755 (executable)
--- a/all
+++ b/all
@@ -39,7 +39,7 @@ case "$cmd" in
                        fi
                done
                ;;
-       checkout)
+       checkout|switch)
                remote=$1
                branch=$2
                if [ -z "$branch" ]; then