]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
try fixing ./all branch
[xonotic/xonotic.git] / all
diff --git a/all b/all
index 38b65d5c062991b625271569c48fbe43ef624b8e..6cdb5032a283474f6445e9ed3a2046a2bf10e709 100755 (executable)
--- a/all
+++ b/all
@@ -306,8 +306,10 @@ case "$cmd" in
                                                        verbose git fetch origin || true
                                                fi
                                                # TODO do this without pushing
-                                               verbose git push "$remote" "$b":"$branch"
-                                               verbose git checkout --track -b "$branch" "$remote/$branch"
+                                               verbose git checkout -b "$branch" "$b"
+                                               verbose git config "branch.$branch.remote" "$remote"
+                                               verbose git config "branch.$branch.merge" "refs/heads/$b"
+                                               verbose git push origin "$branch"
                                        fi
                                fi
                                cd "$d0"