projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ansible: Correct git mirror update script initial clone
[lttng-ci.git]
/
automation
/
ansible
/
roles
/
gitmirror
/
files
/
update.sh
diff --git
a/automation/ansible/roles/gitmirror/files/update.sh
b/automation/ansible/roles/gitmirror/files/update.sh
index d4379db17c439170653c51d536ade2040a247430..dabb4afa77360acd6eb757303d0ec458593cb41f 100644
(file)
--- a/
automation/ansible/roles/gitmirror/files/update.sh
+++ b/
automation/ansible/roles/gitmirror/files/update.sh
@@
-9,7
+9,7
@@
update_git() {
local origin="$2"
if [ ! -d "${repodir}" ] ; then
- git clone --
bare
"${origin}" "${repodir}"
+ git clone --
mirror
"${origin}" "${repodir}"
fi
pushd "$repodir"
This page took
0.022925 seconds
and
4
git commands to generate.