diff options
author | Jean-Noël Avila <jn.avila@free.fr> | 2024-03-10 19:10:28 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-03-11 09:58:11 -0700 |
commit | e7b3a7683c85c806f557814b52b199a1917ae070 (patch) | |
tree | 9e230acd7c0accc1db21e652083848dece304b3f /Documentation/config | |
parent | aa804b7a4c0d51edefabdc5a2992056a2f31a173 (diff) | |
download | git-e7b3a7683c85c806f557814b52b199a1917ae070.tar.gz |
doc: git-init: rework config item init.templateDir
When included into a the manpage of git-init, the param section must
not refer to the manpage.
Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config')
-rw-r--r-- | Documentation/config/init.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Documentation/config/init.txt b/Documentation/config/init.txt index 79c79d6617..dd1d833273 100644 --- a/Documentation/config/init.txt +++ b/Documentation/config/init.txt @@ -1,7 +1,10 @@ -init.templateDir:: - Specify the directory from which templates will be copied. - (See the "TEMPLATE DIRECTORY" section of linkgit:git-init[1].) +:see-git-init: +ifndef::git-init[] +:see-git-init: (See the "TEMPLATE DIRECTORY" section of linkgit:git-init[1].) +endif::[] +init.templateDir:: + Specify the directory from which templates will be copied. {see-git-init} init.defaultBranch:: Allows overriding the default branch name e.g. when initializing a new repository. |