1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-26 17:27:41 +03:00

docs: Add one more git submodule setting to configure

This commit is contained in:
Daan De Meyer 2024-03-21 16:07:58 +01:00 committed by Luca Boccassi
parent 66d826026e
commit e33d43b059
2 changed files with 2 additions and 0 deletions

View 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

View File

@ -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