Skip to content

Commit 2c0b63c

Browse files
committed
Merge PR ceph#61149 into main
* refs/pull/61149/head: script/ceph-backport: allow hyphen in project during ceph fork deduction Reviewed-by: Patrick Donnelly <[email protected]>
2 parents 919c2a6 + 1c37f81 commit 2c0b63c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script/ceph-backport.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ function maybe_deduce_remote {
779779
else
780780
assert_fail "bad remote_type ->$remote_type<- in maybe_deduce_remote"
781781
fi
782-
remote=$(git remote -v | grep --extended-regexp --ignore-case '(://|@)github.com(/|:|:/)'${url_component}'/ceph(\s|\.|\/)' | head -n1 | cut -f 1)
782+
remote=$(git remote -v | grep --extended-regexp --ignore-case '(://|@)github.com(/|:|:/)'${url_component}'/ceph(\s|\.|\/|-)' | head -n1 | cut -f 1)
783783
echo "$remote"
784784
}
785785

0 commit comments

Comments
 (0)