From 6797be91deb047ae973613acb59ce10207d209e6 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Wed, 11 Dec 2024 17:32:47 +0100 Subject: [PATCH] GH-704 - Temporarily disable clean branch checks. --- etc/backport-ticket.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/backport-ticket.sh b/etc/backport-ticket.sh index 70ad44de..1ce235b3 100755 --- a/etc/backport-ticket.sh +++ b/etc/backport-ticket.sh @@ -44,7 +44,7 @@ done echo -e "\nChecking the state of the current branch" isDefaultBranch || _exit 1 "Current branch is not the default branch" -isCleanBranch || _exit 1 "Current branch is not clean" +# isCleanBranch || _exit 1 "Current branch is not clean" # To repair, run: git cherry-pick --abort &>/dev/null; git fetch origin && git reset --hard origin/$(git symbolic-ref --short HEAD) && git clean -fd; git checkout main sourceGh=$(getGHCode "$number") @@ -77,7 +77,7 @@ do echo -e "\nChecking out target branch" git checkout $targetBranch - isCleanBranch || _exit 1 "Current branch is not clean" + # isCleanBranch || _exit 1 "Current branch is not clean" # To repair, run: git cherry-pick --abort &>/dev/null; git fetch origin && git reset --hard origin/$(git symbolic-ref --short HEAD) && git clean -fd; git checkout main targetGh=""