Skip to content

Commit

Permalink
docs: Add one more git submodule setting to configure
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanDeMeyer authored and bluca committed Mar 21, 2024
1 parent 66d8260 commit e33d43b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tools/git-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e33d43b

Please sign in to comment.