From e46ab382e9bff821ecf2e5fbad17b4c7376c341e Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 20 Nov 2025 15:07:17 +0100 Subject: [PATCH] pgit.sh: Set http.proactiveAuth=basic For git clone, use and persist the http.proactiveAuth=basic config option, because it's needed for janware.com servers. Signed-off-by: Jan Lindemann --- scripts/pgit.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/pgit.sh b/scripts/pgit.sh index cbb5c210..c80c485f 100644 --- a/scripts/pgit.sh +++ b/scripts/pgit.sh @@ -154,7 +154,8 @@ clone() if [ -d $p ]; then run_git -C $p pull --recurse-submodules=on-demand else - run_git clone $remote_base/$fromuser$remote_subpath/$p + run_git -c http.proactiveAuth=basic clone $remote_base/$fromuser$remote_subpath/$p + run_git -C $p config set http.proactiveAuth basic fi else local remotename="jw-$fromuser" @@ -174,7 +175,8 @@ clone() fi else # set -x - run_git clone $remote_base/$fromuser$remote_subpath/$p + run_git -c http.proactiveAuth=basic clone $remote_base/$fromuser$remote_subpath/$p + run_git -C $p config set http.proactiveAuth basic run_git -C $p remote rename origin $remotename || fatal failed to rename remote in $p run_git -C $p remote set-url --push $remotename no_push if [ $create_remote_user_repos = true ]; then