From 78744484f2d6ed4fa7a4aff96e3907bae974a0e6 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 14 Nov 2010 18:17:52 +0100 Subject: [PATCH] fix a stupid bug in ./all (typo) --- all | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2