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 <gitster@pobox.com>

Junio C Hamano committed May 4, 2016 at 10:36 UTC 1cca17dfff488760e74e2af4b0f686b20a02e6e1
8 files changed +10 -10
Documentation/config.txt
+2 -2
@@ -1493,7 +1493,7 @@ gui.diffContext::
1493 made by the linkgit:git-gui[1]. The default is "5".
1494
1495 gui.displayUntracked::
1496 - Determines if linkgit::git-gui[1] shows untracked files
1496 + Determines if linkgit:git-gui[1] shows untracked files
1497 in the file list. The default is "true".
1498
1499 gui.encoding::
@@ -1658,7 +1658,7 @@ http.cookieFile::
1658 File containing previously stored cookie lines which should be used
1659 in the Git http session, if they match the server. The file format
1660 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)`).
1662 NOTE that the file specified with http.cookieFile is only used as
1663 input unless http.saveCookies is set.
1664
Documentation/diff-options.txt
+1 -1
@@ -271,7 +271,7 @@ For example, `--word-diff-regex=.` will treat each character as a word
271 and, correspondingly, show differences character by character.
272 +
273 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
275 overrides any diff driver or configuration setting. Diff drivers
276 override configuration settings.
277
Documentation/everyday.txto
+1 -1
@@ -1,7 +1,7 @@
1 Everyday Git With 20 Commands Or So
2 ===================================
3
4 -This document has been moved to linkgit:giteveryday[1].
4 +This document has been moved to linkgit:giteveryday[7].
5
6 Please let the owners of the referring site know so that they can update the
7 link you clicked to get here.
Documentation/git-check-ignore.txt
+1 -1
@@ -112,7 +112,7 @@ EXIT STATUS
112 SEE ALSO
113 --------
114 linkgit:gitignore[5]
115 -linkgit:gitconfig[5]
115 +linkgit:git-config[1]
116 linkgit:git-ls-files[1]
117
118 GIT
Documentation/git-filter-branch.txt
+1 -1
@@ -205,7 +205,7 @@ to other tags will be rewritten to point to the underlying commit.
205 Remap to ancestor
206 ~~~~~~~~~~~~~~~~~
207
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
209 set of revisions which get rewritten. However, positive refs on the command
210 line are distinguished: we don't let them be excluded by such limiters. For
211 this purpose, they are instead rewritten to point at the nearest ancestor that
Documentation/git-for-each-ref.txt
+1 -1
@@ -179,7 +179,7 @@ returns an empty string instead.
179
180 As a special case for the date-type fields, you may specify a format for
181 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).
183
184
185 EXAMPLES
Documentation/git-notes.txt
+1 -1
@@ -402,4 +402,4 @@ on the `notes.rewrite.<command>` and `notes.rewriteRef` settings.
402
403 GIT
404 ---
405 -Part of the linkgit:git[7] suite
405 +Part of the linkgit:git[1] suite
Documentation/technical/api-credentials.txt
+2 -2
@@ -243,7 +243,7 @@ appended to its command line, which is one of:
243 The details of the credential will be provided on the helper's stdin
244 stream. The exact format is the same as the input/output format of the
245 `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).
247
248 For a `get` operation, the helper should produce a list of attributes
249 on stdout in the same format. A helper is free to produce a subset, or
@@ -268,4 +268,4 @@ See also
268
269 linkgit:gitcredentials[7]
270
271 -linkgit:git-config[5] (See configuration variables `credential.*`)
271 +linkgit:git-config[1] (See configuration variables `credential.*`)