From beeb2a3c5911a942a8da888673b7cf380b78f762 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 5 Jun 2010 15:08:10 +0200 Subject: [PATCH] fix a bug in the ./all script when checking out the DP repo --- all | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/all b/all index b8e59d63..e49faeb8 100755 --- a/all +++ b/all @@ -233,7 +233,9 @@ case "$cmd" in else verbose git clone "$url" "$d0/$d" enter "$d0/$d" verbose - verbose git checkout "$branch" + if [ "$branch" != "master" ]; then + verbose git checkout --track -b "$branch" origin/"$branch" + fi cd "$d0" fi done -- 2.39.2