Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/load-configuration
diff options
context:
space:
mode:
Diffstat (limited to 'lib/load-configuration')
-rwxr-xr-xlib/load-configuration5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/load-configuration b/lib/load-configuration
index ad44577..fc7b0ff 100755
--- a/lib/load-configuration
+++ b/lib/load-configuration
@@ -147,3 +147,8 @@ 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; then
+ git -C "${base_dir}" pull --ff-only
+fi