mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
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 <jan@janware.com>
This commit is contained in:
parent
7d436f1c76
commit
e46ab382e9
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue