From 57e7cd79721431e009d8dd72fc963f54eb79df89 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 8 Nov 2023 16:03:55 +1000 Subject: [PATCH] doc: drop the git depth from the hugo theme We need a specific SHA so let's not risk that one being outside that depth that we clone to. --- doc/protocol/generate-protocol-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/protocol/generate-protocol-docs.sh b/doc/protocol/generate-protocol-docs.sh index 412feeb..029ff1b 100755 --- a/doc/protocol/generate-protocol-docs.sh +++ b/doc/protocol/generate-protocol-docs.sh @@ -63,7 +63,7 @@ if [[ -e "$SITEDIR" ]]; then echo "$SITEDIR already exists, updating" else hugo new site "$SITEDIR" - git clone --depth=50 https://github.com/McShelby/hugo-theme-relearn "$SITEDIR/themes/hugo-theme-relearn" + git clone https://github.com/McShelby/hugo-theme-relearn "$SITEDIR/themes/hugo-theme-relearn" pushd "$SITEDIR/themes/hugo-theme-relearn" > /dev/null || exit 1 git reset --hard $TEMPLATE_SHA popd > /dev/null || exit 1