rebase docs: fix "gitlink" typo
diff mbox series

Message ID 20190228024315.1470303-1-kyle@kyleam.com
State New
Headers show
Series
  • rebase docs: fix "gitlink" typo
Related show

Commit Message

Kyle Meyer Feb. 28, 2019, 2:43 a.m. UTC
Change it to "linkgit" so that the reference is properly rendered.

Signed-off-by: Kyle Meyer <kyle@kyleam.com>
---
 Documentation/git-rebase.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Martin Ågren Feb. 28, 2019, 9:13 a.m. UTC | #1
On Thu, 28 Feb 2019 at 03:44, Kyle Meyer <kyle@kyleam.com> wrote:

> Change it to "linkgit" so that the reference is properly rendered.

>  have `<upstream>` as direct ancestor will keep their original branch point,
> -i.e. commits that would be excluded by gitlink:git-log[1]'s
> +i.e. commits that would be excluded by linkgit:git-log[1]'s
>  `--ancestry-path` option will keep their original ancestry by default. If

Heh, I stumbled on this a few days ago, and have this exact patch in my
w-i-p series. I found it interesting that both Asciidoctor and AsciiDoc
trip on this in quite different ways.

The patch is correct and tested by me, FWIW.

Martin
Junio C Hamano March 3, 2019, 1:24 a.m. UTC | #2
Martin Ågren <martin.agren@gmail.com> writes:

> On Thu, 28 Feb 2019 at 03:44, Kyle Meyer <kyle@kyleam.com> wrote:
>
>> Change it to "linkgit" so that the reference is properly rendered.
>
>>  have `<upstream>` as direct ancestor will keep their original branch point,
>> -i.e. commits that would be excluded by gitlink:git-log[1]'s
>> +i.e. commits that would be excluded by linkgit:git-log[1]'s
>>  `--ancestry-path` option will keep their original ancestry by default. If
>
> Heh, I stumbled on this a few days ago, and have this exact patch in my
> w-i-p series. I found it interesting that both Asciidoctor and AsciiDoc
> trip on this in quite different ways.
>
> The patch is correct and tested by me, FWIW.

Yup, thanks, both.

Patch
diff mbox series

diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
index 5629ba4c5d..6363d674b7 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -410,7 +410,7 @@  See also INCOMPATIBLE OPTIONS below.
 +
 By default, or when `no-rebase-cousins` was specified, commits which do not
 have `<upstream>` as direct ancestor will keep their original branch point,
-i.e. commits that would be excluded by gitlink:git-log[1]'s
+i.e. commits that would be excluded by linkgit:git-log[1]'s
 `--ancestry-path` option will keep their original ancestry by default. If
 the `rebase-cousins` mode is turned on, such commits are instead rebased
 onto `<upstream>` (or `<onto>`, if specified).