]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
docs: Add one more git submodule setting to configure
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 21 Mar 2024 15:07:58 +0000 (16:07 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 21 Mar 2024 23:02:52 +0000 (23:02 +0000)
docs/HACKING.md
tools/git-setup.sh

index 6dc9489124694b465da03411d6d02e20ca9f40df..8abb5e040f21a800b59a66adeaf6b4137b26567e 100644 (file)
@@ -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
index 2f7be5ccd693f4806e254654e0226515f7630804..4b49ab9c45f9d48547b93d3827038809b0550bfe 100755 (executable)
@@ -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