Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fetch before checkout (#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.
  • Loading branch information
PGijsbers authored May 12, 2021
commit 3aee2e05186f2151e45c9ddc5bdd0709459bfce3
1 change: 1 addition & 0 deletions docker/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ if [ -n "$2" ]; then
git fetch "$fork_url" "$fork_branch":branch_from_fork
branch=branch_from_fork
else
git fetch origin "$2"
branch=$2
fi
if ! git checkout "$branch" ; then
Expand Down