mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-23 22:40:38 +01:00
pgit.sh: Rename clone remote user-xxx to jw-xxx
This looks more understandable for non-janware user cases Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
db6bdc454e
commit
e3469d0ac0
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ clone()
|
||||||
fi
|
fi
|
||||||
run_git -C $p submodule update --init --recursive || fatal git submodule update failed in $p
|
run_git -C $p submodule update --init --recursive || fatal git submodule update failed in $p
|
||||||
else
|
else
|
||||||
local remotename="user-$fromuser"
|
local remotename="jw-$fromuser"
|
||||||
if [ -d $p ]; then
|
if [ -d $p ]; then
|
||||||
run_git -C $p remote | grep -q "^$remotename$" || {
|
run_git -C $p remote | grep -q "^$remotename$" || {
|
||||||
run_git -C $p remote add $remotename $pullurl
|
run_git -C $p remote add $remotename $pullurl
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue