summaryrefslogtreecommitdiff
path: root/test/test-ci.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-ci.sh')
-rwxr-xr-xtest/test-ci.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-ci.sh b/test/test-ci.sh
index 0905340f..757dc02e 100755
--- a/test/test-ci.sh
+++ b/test/test-ci.sh
@@ -48,7 +48,7 @@ do_Get_Upstream_Base () {
git fetch --depth=30 --no-tags upstream "$base_branch"
fi
- git branch ci-upstream-base-branch FETCH_HEAD
+ git branch -f ci-upstream-base-branch FETCH_HEAD
# Work out the newest common ancestor between the detached HEAD that this CI
# job has checked out, and the upstream target branch (which will typically