[master] 080ab9c89 sorry, I actually was convinced git clone -r existed...
Nils Goroll
nils.goroll at uplex.de
Tue May 27 08:04:05 UTC 2025
commit 080ab9c895d52b2495de85c91527c120c6b6130f
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Tue May 27 10:02:37 2025 +0200
sorry, I actually was convinced git clone -r existed...
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 3262f515a..19e24a857 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -110,7 +110,7 @@ jobs:
mkdir -p ~/.ssh
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
echo ${CIRCLE_REPOSITORY_URL}
- git clone -r https://github.com/varnishcache/pkg-varnish-cache.git .
+ git clone --recursive https://github.com/varnishcache/pkg-varnish-cache.git .
git checkout << pipeline.parameters.pkg-commit >>
tar cvzf debian.tar.gz debian --dereference
tar cvzf redhat.tar.gz redhat --dereference
diff --git a/configure.ac b/configure.ac
index eeb0747bc..8511d08c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@ AC_REVISION([$Id$])
AC_INIT([Varnish], [trunk], [varnish-dev at varnish-cache.org])
AC_CONFIG_SRCDIR(include/miniobj.h)
if ! test -f "${srcdir}/bin/varnishtest/vtest2/src/vtc_main.c" ; then
- AC_MSG_ERROR([vtest2 seems to be missing, use "git clone -r" or "git submodule update --init"])
+ AC_MSG_ERROR([vtest2 seems to be missing, use "git clone --recursive" or "git submodule update --init"])
fi
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
diff --git a/doc/sphinx/installation/install_source.rst b/doc/sphinx/installation/install_source.rst
index 20cf3ba85..f0f09635b 100644
--- a/doc/sphinx/installation/install_source.rst
+++ b/doc/sphinx/installation/install_source.rst
@@ -21,7 +21,7 @@ https://varnish-cache.org/releases/ .
Alternatively, if you want to hack on Varnish, you should clone our
git repository by doing.
- ``git clone -r https://github.com/varnishcache/varnish-cache``
+ ``git clone --recursive https://github.com/varnishcache/varnish-cache``
This will recursively check out the vtest2 sources from the default repository
URL. If you prefer to use vtest2 from a non-default (local) repository, you can
diff --git a/tools/vtest.sh b/tools/vtest.sh
index a1837ac0d..005214827 100755
--- a/tools/vtest.sh
+++ b/tools/vtest.sh
@@ -76,7 +76,7 @@ chown varnish "${TMPDIR}" > /dev/null 2>&1 || true
# Establish the SRCDIR we build/run/test
if ! (cd varnish-cache 2>/dev/null) ; then
- git clone -r \
+ git clone --recursive \
https://github.com/varnishcache/varnish-cache.git \
varnish-cache
else
More information about the varnish-commit
mailing list