diff options
author | Dario Lombardo <lomato@gmail.com> | 2018-06-27 16:14:18 -0700 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-06-28 06:09:37 +0000 |
commit | e6935f96354574699379009d7f55857ba69c55b1 (patch) | |
tree | 1a6dca218e7ea88ec5dbe23d64a8d7dcf618134a /docbook/wsdg_src/WSDG_chapter_sources.asciidoc | |
parent | 8304f69fd7f02cb5fe79010170c7550d441ad6e7 (diff) |
docbook: add info about using symbolic links for git hooks.
Change-Id: I4b448c1a12946479638d04819570f5a0dd1227dd
Reviewed-on: https://code.wireshark.org/review/28497
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'docbook/wsdg_src/WSDG_chapter_sources.asciidoc')
-rw-r--r-- | docbook/wsdg_src/WSDG_chapter_sources.asciidoc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docbook/wsdg_src/WSDG_chapter_sources.asciidoc b/docbook/wsdg_src/WSDG_chapter_sources.asciidoc index 9a4e7fe278..accdbb5c7d 100644 --- a/docbook/wsdg_src/WSDG_chapter_sources.asciidoc +++ b/docbook/wsdg_src/WSDG_chapter_sources.asciidoc @@ -816,6 +816,12 @@ change, you can run git commit --no-verify to skip running the hooks. Warning: u --no-verify avoids the commit-msg hook, and thus will not automatically add the required Change-ID to your commit. In case you are not updating an existing patch you may generate a Change-ID by running git review -i (or git commit --amend if don't use git review). ++ +Additionally, if your system supports symbolic links (like Linux), you can use them +instead of copying files. Running ln -s ./tools/pre-commit .git/hooks creates a symbolic +link that will make the hook to be up-to-date with the current master. The same can +be done for commit-msg script. + * _Fuzz test your changes!_ Fuzz testing is a very effective way to automatically find a lot of dissector related bugs. |