summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-12 12:03:44 +0200
committerErich Eckner <git@eckner.net>2018-06-12 12:03:44 +0200
commitf9c50509c31f44803f86f7d056f1b0e2e5fd1242 (patch)
tree6548ff985f1f5cff6b6b873ddc98659f99fa313e /lib
parent36c1ee5131c791ca42ddfe830f79ef8c359ea91c (diff)
downloadbuilder-f9c50509c31f44803f86f7d056f1b0e2e5fd1242.tar.xz
lib/load-configuration: do not check out newest revision - it will unnecessarily block everything if there is an issue with the git repository
Diffstat (limited to 'lib')
-rwxr-xr-xlib/load-configuration6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/load-configuration b/lib/load-configuration
index 07ef270..ad44577 100755
--- a/lib/load-configuration
+++ b/lib/load-configuration
@@ -147,9 +147,3 @@ if [ "${master_build_server_identity}" = "${work_dir}/.ssh/id_rsa" ] && \
mkdir -p "${master_build_server_identity%/*}"
ssh-keygen -b4096 -f "${master_build_server_identity}"
fi
-
-# check out newest revision
-if git -C "${base_dir}" status >/dev/null 2>&1; then
- chronic git -C "${base_dir}" pull --ff-only || \
- true
-fi