summaryrefslogtreecommitdiffstats
path: root/docs/HACKING.md
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-03 17:44:49 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-05 14:49:21 +0200
commitf779fd1f8fbebe6d32feee619c0430ca142b9a6d (patch)
treee363c889813fea20b465de1569e01d09e8c59fd0 /docs/HACKING.md
parentmeson: Remove --debug from mkosi arguments (diff)
downloadsystemd-f779fd1f8fbebe6d32feee619c0430ca142b9a6d.tar.xz
systemd-f779fd1f8fbebe6d32feee619c0430ca142b9a6d.zip
meson: Set up git submodule update on post checkout as well
Diffstat (limited to 'docs/HACKING.md')
-rw-r--r--docs/HACKING.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/HACKING.md b/docs/HACKING.md
index 9e25ceec33..980a45929e 100644
--- a/docs/HACKING.md
+++ b/docs/HACKING.md
@@ -27,7 +27,8 @@ $ git config submodule.recurse true
$ git config fetch.recurseSubmodules on-demand
$ git config push.recurseSubmodules no
$ cp .git/hooks/pre-commit.sample .git/hooks/pre-commit
-$ cp tools/git-post-rewrite-hook.sh .git/hooks/post-rewrite
+$ cp tools/git-submodule-update-hook.sh .git/hooks/post-rewrite
+$ cp tools/git-submodule-update-hook.sh .git/hooks/post-checkout
```
Please always test your work before submitting a PR.