]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
fix a stupid bug in ./all (typo)
authorRudolf Polzer <divverent@alientrap.org>
Sun, 14 Nov 2010 17:17:52 +0000 (18:17 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 14 Nov 2010 17:17:52 +0000 (18:17 +0100)
all

diff --git a/all b/all
index cef1b3c16b67658611259027a2257b8de7ed6c87..351fdbbe560e1948632175fd47ac692a9f0448cf 100755 (executable)
--- a/all
+++ b/all
@@ -1378,8 +1378,8 @@ case "$cmd" in
                                                verbose git branch -D "${B#refs/heads/}"
                                        fi
                                done
-                               git rev-parse refs/heads/master >/dev/null 2>&1 || verbose git branch -t master origin/master || true
-                               git rev-parse "refs/heads/`repobranch "$d"`" >/dev/null 2>&1 || verbose git branch -t "`repobranch "$d"`" origin/"`repobranch "$d"`" || true
+                               git rev-parse refs/heads/master >/dev/null 2>&1 || verbose git checkout --track -b master origin/master || true
+                               git rev-parse "refs/heads/`repobranch "$d"`" >/dev/null 2>&1 || verbose git checkout --track -b "`repobranch "$d"`" origin/"`repobranch "$d"`" || true
                        fi
                        checkself "$cmd" "$@"
                done