From: Rudolf Polzer Date: Sun, 14 Nov 2010 17:17:52 +0000 (+0100) Subject: fix a stupid bug in ./all (typo) X-Git-Tag: xonotic-v0.1.0preview~53 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=78744484f2d6ed4fa7a4aff96e3907bae974a0e6 fix a stupid bug in ./all (typo) --- diff --git a/all b/all index cef1b3c1..351fdbbe 100755 --- 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