Skip to content
Merged
Changes from all commits
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
5 changes: 5 additions & 0 deletions init-tests-after-clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ fi
git tag __testing_point__

# The tests need a branch called master.
#
# If master is locally absent but more than one remote has it, checkout fails
# by default even if all remotes agree, and we fall back to creating it at
# HEAD. The reflog we populate below then traces HEAD's history rather than
# a remote master's, but master is reset to __testing_point__ either way.
Comment thread
EliahKagan marked this conversation as resolved.
git checkout master -- || git checkout -b master

# The tests need a reflog history on the master branch.
Expand Down
Loading