Skip to content

Commit cb88860

Browse files
committed
Fetch before checkout (openml#1079)
Because the repository at the time of building the docker image is not aware of branches that are created afterwards, which means otherwise those are only accessible through the openml#branch syntax.
1 parent c97844c commit cb88860

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docker/startup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ if [ -n "$2" ]; then
4444
git fetch "$fork_url" "$fork_branch":branch_from_fork
4545
branch=branch_from_fork
4646
else
47+
git fetch origin "$2"
4748
branch=$2
4849
fi
4950
if ! git checkout "$branch" ; then

0 commit comments

Comments
 (0)