From 7b694cfae8941f74910bb7762ec48ba7e601e887 Mon Sep 17 00:00:00 2001 From: Jack Green Date: Fri, 16 Aug 2024 14:46:11 +0100 Subject: [PATCH] Update backport --- backport | 1 - 1 file changed, 1 deletion(-) diff --git a/backport b/backport index d584eae..a475576 100755 --- a/backport +++ b/backport @@ -108,7 +108,6 @@ SUFFIX="${TARGET##*/}" log_info "Backporting the last commit from $SOURCE onto $TARGET" COMMIT_MSG=$(git show -s --format='%s' "$SOURCE") -ORIGINAL_PR_NUMBER=$(echo "$COMMIT_MSG" | grep --extended-regexp --only-matching ' ORIGINAL_PR_NUMBER=$(get_pr_number "$COMMIT_MSG") NEW_COMMIT_MSG="$( echo "${COMMIT_MSG// \(\#$ORIGINAL_PR_NUMBER\)}" | sed -r 's/ \[.+\]//g') [$SUFFIX]" UPSTREAM_URL="$(git remote get-url upstream)"