]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
fix a stupid bug in ./all (typo)
[xonotic/xonotic.git] / 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
                                                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
                        fi
                        checkself "$cmd" "$@"
                done