repoctl, uproject: ne plus enlever le suffixe .git
This commit is contained in:
parent
440d2aa1fa
commit
137dfa9674
2
repoctl
2
repoctl
@ -47,7 +47,7 @@ ACTIONS
|
||||
}
|
||||
|
||||
function repoctl_init() {
|
||||
repourl="${1%.git}"
|
||||
repourl="$1"
|
||||
[ -n "$repourl" ] || return
|
||||
rname=
|
||||
rtype=gitolite
|
||||
|
4
uproject
4
uproject
@ -242,7 +242,7 @@ done
|
||||
# Traiter les commandes
|
||||
|
||||
function cxone_init() {
|
||||
repourl="${1%.git}"
|
||||
repourl="$1"
|
||||
[ -n "$repourl" ] || return
|
||||
rname=
|
||||
rtype=gitolite
|
||||
@ -465,7 +465,7 @@ NR <= 2 { next }
|
||||
done
|
||||
|
||||
else
|
||||
repourl="${1%.git}"
|
||||
repourl="$1"
|
||||
[ -n "$repourl" ] || die "Vous devez spécifier l'url du dépôt git"
|
||||
|
||||
destdir="$2"
|
||||
|
Loading…
Reference in New Issue
Block a user