threads / patch / 63900

patchdocs: fix typo in worktree.adoc 'extension'

Subject: [PATCH] docs: fix typo in worktree.adoc 'extension'

## tl;dr

2 messages between Aug 4, 2025 and Aug 4, 2025. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Mihail Malinouski via GitGitGadget· Aug 4, 2025, 07:16 UTC · lore
From: M-L-Ml <m.l.malinouski@gmail.com>

The documentation incorrectly referred to the extension without an 's'. This fixes the typo for clarity.

CC: m.l.malinouski@gmail.com
Signed-off-by: Mikhail Malinouski <m.l.malinouski@gmail.com>
---
    should be 's' on the end of the "extension" in the docs Update work…
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1936%2FM-L-Ml%2Fpatch-1-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1936/M-L-Ml/patch-1-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1936
 Documentation/config/worktree.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to Documentation/config/worktree.adoc +1 −1
diff --git a/Documentation/config/worktree.adoc b/Documentation/config/worktree.adoc
index 5e35c7d018a..9e3f84f748c 100644
--- a/Documentation/config/worktree.adoc
+++ b/Documentation/config/worktree.adoc
@@ -15,5 +15,5 @@ worktree.useRelativePaths::
 	different locations or environments. Defaults to "false".
 +
 Note that setting `worktree.useRelativePaths` to "true" implies enabling the
-`extension.relativeWorktrees` config (see linkgit:git-config[1]),
+`extensions.relativeWorktrees` config (see linkgit:git-config[1]),
 thus making it incompatible with older versions of Git.

base-commit: cb3b40381e1d5ee32dde96521ad7cfd68eb308a6
-- 
gitgitgadget
Patrick Steinhardt· Aug 4, 2025, 08:05 UTC · re: Mihail Malinouski via GitGitGadget · lore

Re: [PATCH] docs: fix typo in worktree.adoc 'extension'

On Mon, Aug 04, 2025 at 07:16:51AM +0000, Mihail Malinouski via GitGitGadget wrote:
> From: M-L-Ml <m.l.malinouski@gmail.com>
The "From" header and the Signed-off-by line need to match.
> The documentation incorrectly referred to the extension without an 's'.
> This fixes the typo for clarity.
> 
> CC: m.l.malinouski@gmail.com
This trailer is nothing we typically want to commit into our history.
Show 22 quoted lines
> Signed-off-by: Mikhail Malinouski <m.l.malinouski@gmail.com>
> ---
>     should be 's' on the end of the "extension" in the docs Update work…
> 
> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1936%2FM-L-Ml%2Fpatch-1-v1
> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1936/M-L-Ml/patch-1-v1
> Pull-Request: https://github.com/gitgitgadget/git/pull/1936
> 
>  Documentation/config/worktree.adoc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/config/worktree.adoc b/Documentation/config/worktree.adoc
> index 5e35c7d018a..9e3f84f748c 100644
> --- a/Documentation/config/worktree.adoc
> +++ b/Documentation/config/worktree.adoc
> @@ -15,5 +15,5 @@ worktree.useRelativePaths::
>  	different locations or environments. Defaults to "false".
>  +
>  Note that setting `worktree.useRelativePaths` to "true" implies enabling the
> -`extension.relativeWorktrees` config (see linkgit:git-config[1]),
> +`extensions.relativeWorktrees` config (see linkgit:git-config[1]),
>  thus making it incompatible with older versions of Git.
The fix itself looks obviously correct to me.
Thanks!
Patrick

← back to recent threads