Skip to content
Open
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: 4 additions & 1 deletion github/safe-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ initrepo () {

# allow non-ff pull request updates and select wip branches, and
# ff-only updates for all other refs
wip_branches=("itb" "preview-*" "wip/*")
wip_branches=("preview-*" "wip/*")
if [[ "$(basename "$remote")" == "topology" ]]; then # sorry :( -mat
wip_branches+=("itb")
fi
git config remote.origin.fetch '+refs/pull/*:refs/pull/*'
for b in "${wip_branches[@]}"; do
git config --add remote.origin.fetch "+refs/heads/$b:refs/heads/$b"
Expand Down