Skip to content

Commit 1cca17d

Browse files
committed
Documentation: fix linkgit references
There are a handful of incorrect "linkgit:<page>[<section>]" instances in our documentation set. * Some have an extra colon after "linkgit:"; fix them by removing the extra colon; * Some refer to a page outside the Git suite, namely curl(1); fix them by using the `curl(1)` that already appears on the same page for the same purpose of referring the readers to its manual page. * Some spell the name of the page incorrectly, e.g. "rev-list" when they mean "git-rev-list"; fix them. * Some list the manual section incorrectly; fix them to make sure they match what is at the top of the target of the link. Signed-off-by: Junio C Hamano <[email protected]>
1 parent d92347f commit 1cca17d

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

Documentation/config.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@ gui.diffContext::
14931493
made by the linkgit:git-gui[1]. The default is "5".
14941494

14951495
gui.displayUntracked::
1496-
Determines if linkgit::git-gui[1] shows untracked files
1496+
Determines if linkgit:git-gui[1] shows untracked files
14971497
in the file list. The default is "true".
14981498

14991499
gui.encoding::
@@ -1658,7 +1658,7 @@ http.cookieFile::
16581658
File containing previously stored cookie lines which should be used
16591659
in the Git http session, if they match the server. The file format
16601660
of the file to read cookies from should be plain HTTP headers or
1661-
the Netscape/Mozilla cookie file format (see linkgit:curl[1]).
1661+
the Netscape/Mozilla cookie file format (see `curl(1)`).
16621662
NOTE that the file specified with http.cookieFile is only used as
16631663
input unless http.saveCookies is set.
16641664

Documentation/diff-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ For example, `--word-diff-regex=.` will treat each character as a word
271271
and, correspondingly, show differences character by character.
272272
+
273273
The regex can also be set via a diff driver or configuration option, see
274-
linkgit:gitattributes[1] or linkgit:git-config[1]. Giving it explicitly
274+
linkgit:gitattributes[5] or linkgit:git-config[1]. Giving it explicitly
275275
overrides any diff driver or configuration setting. Diff drivers
276276
override configuration settings.
277277

Documentation/everyday.txto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Everyday Git With 20 Commands Or So
22
===================================
33

4-
This document has been moved to linkgit:giteveryday[1].
4+
This document has been moved to linkgit:giteveryday[7].
55

66
Please let the owners of the referring site know so that they can update the
77
link you clicked to get here.

Documentation/git-check-ignore.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ EXIT STATUS
112112
SEE ALSO
113113
--------
114114
linkgit:gitignore[5]
115-
linkgit:gitconfig[5]
115+
linkgit:git-config[1]
116116
linkgit:git-ls-files[1]
117117

118118
GIT

Documentation/git-filter-branch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ to other tags will be rewritten to point to the underlying commit.
205205
Remap to ancestor
206206
~~~~~~~~~~~~~~~~~
207207

208-
By using linkgit:rev-list[1] arguments, e.g., path limiters, you can limit the
208+
By using linkgit:git-rev-list[1] arguments, e.g., path limiters, you can limit the
209209
set of revisions which get rewritten. However, positive refs on the command
210210
line are distinguished: we don't let them be excluded by such limiters. For
211211
this purpose, they are instead rewritten to point at the nearest ancestor that

Documentation/git-for-each-ref.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ returns an empty string instead.
179179

180180
As a special case for the date-type fields, you may specify a format for
181181
the date by adding `:` followed by date format name (see the
182-
values the `--date` option to linkgit::git-rev-list[1] takes).
182+
values the `--date` option to linkgit:git-rev-list[1] takes).
183183

184184

185185
EXAMPLES

Documentation/git-notes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,4 +402,4 @@ on the `notes.rewrite.<command>` and `notes.rewriteRef` settings.
402402

403403
GIT
404404
---
405-
Part of the linkgit:git[7] suite
405+
Part of the linkgit:git[1] suite

Documentation/technical/api-credentials.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ appended to its command line, which is one of:
243243
The details of the credential will be provided on the helper's stdin
244244
stream. The exact format is the same as the input/output format of the
245245
`git credential` plumbing command (see the section `INPUT/OUTPUT
246-
FORMAT` in linkgit:git-credential[7] for a detailed specification).
246+
FORMAT` in linkgit:git-credential[1] for a detailed specification).
247247

248248
For a `get` operation, the helper should produce a list of attributes
249249
on stdout in the same format. A helper is free to produce a subset, or
@@ -268,4 +268,4 @@ See also
268268

269269
linkgit:gitcredentials[7]
270270

271-
linkgit:git-config[5] (See configuration variables `credential.*`)
271+
linkgit:git-config[1] (See configuration variables `credential.*`)

0 commit comments

Comments
 (0)