Re: [PATCH v2] docs: document core.hooksPath=/dev/null
- From
Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
- Date
- Apr 16, 2025, 16:53 UTC
- Message-ID
- <BD8FCCB1-C97D-4057-982E-93A7F8B01AB9@gmail.com>
- In-Reply-To
- <pull.1899.v2.git.1744818135435.gitgitgadget@gmail.com>
Hi!
> +You can also disable all hooks entirely by setting `core.hooksPath` > +to `/dev/null`.
Personally I think it would be better to focus on the non-expert user, something like:
""" You can also use this variable to disable all hooks entirely by setting it to `/dev/null`. For non-expert users in a per-command basis it is advisable to use configuration parameters of the form `git -c core.hooksPath=/dev/null ...`. """