[FFmpeg-devel] [PATCH] fate: allow https for git URLs

Alexander Strasser eclipse7 at gmx.net
Wed Apr 24 23:12:44 EEST 2024


On 2024-04-24 22:01 +0200, Timo Rothenpieler wrote:
> ---
>  tests/fate.sh | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/fate.sh b/tests/fate.sh
> index c5ee18de80..4081e865ae 100755
> --- a/tests/fate.sh
> +++ b/tests/fate.sh
> @@ -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
>  )

Should be OK if tested to work with both git and https URLs in repo.


  Alexander


More information about the ffmpeg-devel mailing list