git-worktree.txt: correct linkgit command name
diff mbox series

Message ID 20181103051418.13697-1-pclouds@gmail.com
State New
Headers show
Series
  • git-worktree.txt: correct linkgit command name
Related show

Commit Message

Duy Nguyen Nov. 3, 2018, 5:14 a.m. UTC
Noticed-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 On top of nd/per-worktree-ref-iteration

 Documentation/git-worktree.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Junio C Hamano Nov. 5, 2018, 1:22 a.m. UTC | #1
Nguyễn Thái Ngọc Duy  <pclouds@gmail.com> writes:

> Noticed-by: SZEDER Gábor <szeder.dev@gmail.com>
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
> ---
>  On top of nd/per-worktree-ref-iteration

Thanks.

>
>  Documentation/git-worktree.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/git-worktree.txt b/Documentation/git-worktree.txt
> index 9117e4fb50..69d55f1350 100644
> --- a/Documentation/git-worktree.txt
> +++ b/Documentation/git-worktree.txt
> @@ -230,7 +230,7 @@ GIT_COMMON_DIR/worktrees/foo/HEAD and
>  GIT_COMMON_DIR/worktrees/bar/refs/bisect/bad.
>  
>  To access refs, it's best not to look inside GIT_DIR directly. Instead
> -use commands such as linkgit:git-revparse[1] or linkgit:git-update-ref[1]
> +use commands such as linkgit:git-rev-parse[1] or linkgit:git-update-ref[1]
>  which will handle refs correctly.
>  
>  DETAILS

Patch
diff mbox series

diff --git a/Documentation/git-worktree.txt b/Documentation/git-worktree.txt
index 9117e4fb50..69d55f1350 100644
--- a/Documentation/git-worktree.txt
+++ b/Documentation/git-worktree.txt
@@ -230,7 +230,7 @@  GIT_COMMON_DIR/worktrees/foo/HEAD and
 GIT_COMMON_DIR/worktrees/bar/refs/bisect/bad.
 
 To access refs, it's best not to look inside GIT_DIR directly. Instead
-use commands such as linkgit:git-revparse[1] or linkgit:git-update-ref[1]
+use commands such as linkgit:git-rev-parse[1] or linkgit:git-update-ref[1]
 which will handle refs correctly.
 
 DETAILS