summaryrefslogtreecommitdiff
path: root/lib/load-configuration
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-28 10:55:46 +0200
committerErich Eckner <git@eckner.net>2018-05-28 10:55:46 +0200
commit9f96f03413d0f06a9d50beac6360a17f47e4b213 (patch)
treeefc576a5e5ca1770d08f2be4981383e8b7e157e3 /lib/load-configuration
parent039b6127f72416f7a2656516f2e70ce19c4343a2 (diff)
downloadbuilder-9f96f03413d0f06a9d50beac6360a17f47e4b213.tar.xz
lib/load-configuration: create mirrored instead of only bare repositories
Diffstat (limited to 'lib/load-configuration')
-rwxr-xr-xlib/load-configuration2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/load-configuration b/lib/load-configuration
index 593825d..b5936d9 100755
--- a/lib/load-configuration
+++ b/lib/load-configuration
@@ -155,7 +155,7 @@ for repo in ${repo_names}; do
else
repo_source="git://git.archlinux.org/svntogit/${repo}.git"
fi
- git clone --bare "${repo_source}" "${repo_path}"
+ git clone --mirror "${repo_source}" "${repo_path}"
fi
done