We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 919c2a6 + 1c37f81 commit 2c0b63cCopy full SHA for 2c0b63c
src/script/ceph-backport.sh
@@ -779,7 +779,7 @@ function maybe_deduce_remote {
779
else
780
assert_fail "bad remote_type ->$remote_type<- in maybe_deduce_remote"
781
fi
782
- remote=$(git remote -v | grep --extended-regexp --ignore-case '(://|@)github.com(/|:|:/)'${url_component}'/ceph(\s|\.|\/)' | head -n1 | cut -f 1)
+ remote=$(git remote -v | grep --extended-regexp --ignore-case '(://|@)github.com(/|:|:/)'${url_component}'/ceph(\s|\.|\/|-)' | head -n1 | cut -f 1)
783
echo "$remote"
784
}
785
0 commit comments