From: Rudolf Polzer Date: Sun, 23 May 2010 12:12:54 +0000 (+0200) Subject: ./all branch: fetch origin before creating a branch, to make sure new branches start... X-Git-Tag: xonotic-v0.1.0preview~451 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=68454eab14a22ec7700f7da164e0dbdb9444b157 ./all branch: fetch origin before creating a branch, to make sure new branches start at the CURRENT master --- diff --git a/all b/all index 935a58ae..38b65d5c 100755 --- a/all +++ b/all @@ -302,7 +302,8 @@ case "$cmd" in if [ -n "$srcbranch" ]; then b=$srcbranch else - b="`repobranch "$d"`" + b=origin/"`repobranch "$d"`" + verbose git fetch origin || true fi # TODO do this without pushing verbose git push "$remote" "$b":"$branch"