Skip to content
Snippets Groups Projects
Commit 0638f71a authored by Sebastian Fricke's avatar Sebastian Fricke
Browse files

build.sh: Enable to specify a custom branch from the dev repo


There are multiple reasons why the branch might not be called main:
- It could be called master
- We might want to test a specific feature branch
- When using GitLab or GitHub to test merge requests
etc.

Signed-off-by: default avatarSebastian Fricke <sebastian.fricke@collabora.com>
parent 916b059f
Branches master
No related tags found
No related merge requests found
......@@ -189,7 +189,7 @@ if [ "$1" == "setup" ]; then
cd ..
cd media-git
git remote add main $myrepo
git remote add $mybranch $myrepo
if [ -n "$mylocalrepo" ]; then
git remote add local $mylocalrepo
fi
......
......@@ -5,6 +5,8 @@
# Your main git tree where you keep your in-progress work.
# This will be named 'main'.
myrepo=git://linuxtv.org/hverkuil/media_tree.git
# You can also specify a specific branch to checkout
#mybranch=example_branch
# Optional: your local git tree where you do your development
# This will be named 'local', so to build a branch from your
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment