mirror of https://github.com/vector-im/riot-web
Fix git protocol usage (#20464)
Prevents this: ``` + git clone git://github.com/matrix-org/matrix-js-sdk.git matrix-js-sdk --branch develop --depth 1 Cloning into 'matrix-js-sdk'... fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. ```pull/20465/head
parent
10d7bdf9a1
commit
2617b424ce
|
@ -25,7 +25,7 @@ function clone() {
|
||||||
if [ -n "$branch" ]
|
if [ -n "$branch" ]
|
||||||
then
|
then
|
||||||
echo "Trying to use $org/$repo#$branch"
|
echo "Trying to use $org/$repo#$branch"
|
||||||
git clone git://github.com/$org/$repo.git $repo --branch $branch \
|
git clone https://github.com/$org/$repo.git $repo --branch $branch \
|
||||||
"${GIT_CLONE_ARGS[@]}"
|
"${GIT_CLONE_ARGS[@]}"
|
||||||
return $?
|
return $?
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue