1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

fate: allow https for git URLs

This commit is contained in:
Timo Rothenpieler 2024-04-24 22:00:39 +02:00
parent 091fdce87e
commit 59767636c7

View File

@ -30,14 +30,14 @@ lock(){
checkout(){
case "$repo" in
file:*|/*) src="${repo#file:}" ;;
git:*) git clone --quiet --branch "$branch" "$repo" "$src" ;;
git:*|https:*) git clone --quiet --branch "$branch" "$repo" "$src" ;;
esac
}
update()(
cd ${src} || return
case "$repo" in
git:*) git fetch --quiet --force && git reset --quiet --hard "origin/$branch" ;;
git:*|https:*) git fetch --quiet --force && git reset --quiet --hard "origin/$branch" ;;
esac
)