From: Daan De Meyer Date: Thu, 21 Mar 2024 15:07:58 +0000 (+0100) Subject: docs: Add one more git submodule setting to configure X-Git-Tag: v256-rc1~449 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e33d43b059c2bd245124e8f7aa4979e0b70915b2;p=thirdparty%2Fsystemd.git docs: Add one more git submodule setting to configure --- diff --git a/docs/HACKING.md b/docs/HACKING.md index 6dc94891246..8abb5e040f2 100644 --- a/docs/HACKING.md +++ b/docs/HACKING.md @@ -20,6 +20,7 @@ git correctly (running `meson` will run these commands for you automatically): ```shell $ git config submodule.recurse true $ git config fetch.recurseSubmodules on-demand +$ git config push.recurseSubmodules no ``` When adding new functionality, tests should be added. For shared functionality diff --git a/tools/git-setup.sh b/tools/git-setup.sh index 2f7be5ccd69..4b49ab9c45f 100755 --- a/tools/git-setup.sh +++ b/tools/git-setup.sh @@ -7,6 +7,7 @@ cd "${MESON_SOURCE_ROOT:?}" if [ -e .git ]; then git config submodule.recurse true git config fetch.recurseSubmodules on-demand + git config push.recurseSubmodules no fi if [ ! -f .git/hooks/pre-commit.sample ] || [ -f .git/hooks/pre-commit ]; then