From 9925d360f4d9be979bda8899f1fa56c289486be8 Mon Sep 17 00:00:00 2001 From: Andre Gaschler Date: Wed, 2 Jan 2019 11:50:51 +0100 Subject: [PATCH] Clone that contains prometheus version (#1489) This silently worked when it was written, but in order to check out a specific commit we cannot have a shallow clone of the master. --- scripts/install_prometheus_cpp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_prometheus_cpp.sh b/scripts/install_prometheus_cpp.sh index ea5b255..3fe88c1 100755 --- a/scripts/install_prometheus_cpp.sh +++ b/scripts/install_prometheus_cpp.sh @@ -19,7 +19,7 @@ set -o verbose COMMIT="4e0814ee3f93b796356a51a4795a332568940a72" -git clone --depth 1 https://github.com/jupp0r/prometheus-cpp.git +git clone https://github.com/jupp0r/prometheus-cpp.git cd prometheus-cpp git checkout ${COMMIT} git submodule update --init