]> git.99rst.org Git - git.git/commit
doc: hook: don’t self-link via config include
authorKristoffer Haugsbakk <redacted>
Thu, 21 May 2026 16:25:58 +0000 (18:25 +0200)
committerJunio C Hamano <redacted>
Fri, 22 May 2026 00:36:20 +0000 (09:36 +0900)
commit5c6a41e4b5b60ea397393fb0542c7d67553a105e
tree820c313979ea1a5b6442a808427c8fb61754d695
parent2757bc8f7bcb2e29da109861560f96b3477b2395
doc: hook: don’t self-link via config include

Do not link to git-hook(1) from the config options when we already are
in that doc.

This implementation is similar to the updates to git-init(1) and
git-commit(1), implemented in [1] and [2], respectively.

† 1: e7b3a768 (doc: git-init: rework config item init.templateDir,
     2024-03-10)
† 2: 819fdd6e (doc: convert git commit config to new format, 2025-01-15)

Signed-off-by: Kristoffer Haugsbakk <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/config/hook.adoc
Documentation/git-hook.adoc
git clone https://git.99rst.org/PROJECT