]> git.ipfire.org Git - thirdparty/git.git/commit
docs: document core.hooksPath=/dev/null
authorDerrick Stolee <stolee@gmail.com>
Wed, 16 Apr 2025 15:42:15 +0000 (15:42 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Apr 2025 16:04:37 +0000 (09:04 -0700)
commit1b2eee94f120969690d772af5a14f681f7d875a7
treebd670499088eb0e9bd78f267e8265a2a8e430907
parent683c54c999c301c2cd6f715c411407c413b1d84e
docs: document core.hooksPath=/dev/null

If a user wishes to disable hooks, then they can do so using the
established pattern of setting 'core.hooksPath' to /dev/null. This is
already tested in t1350-config-hooks-path.sh, but has not previously
been visible in the documentation.

Update the documentation to include this as an option.

Signed-off-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/core.adoc