Skip to content

Commit 9d83e38

Browse files
jrngitster
authored andcommitted
Documentation: gitrevisions is in section 7
Fix references to gitrevisions(1) in the manual pages and HTML documentation. In practice, this will not matter much unless someone tries to use a hard copy of the git reference manual. Signed-off-by: Jonathan Nieder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 69ae92b commit 9d83e38

16 files changed

+20
-20
lines changed

Documentation/git-cat-file.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ OPTIONS
2727
<object>::
2828
The name of the object to show.
2929
For a more complete list of ways to spell object names, see
30-
the "SPECIFYING REVISIONS" section in linkgit:gitrevisions[1].
30+
the "SPECIFYING REVISIONS" section in linkgit:gitrevisions[7].
3131

3232
-t::
3333
Instead of the content, show the object type identified by

Documentation/git-check-ref-format.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ git imposes the following rules on how references are named:
4949
These rules make it easy for shell script based tools to parse
5050
reference names, pathname expansion by the shell when a reference name is used
5151
unquoted (by mistake), and also avoids ambiguities in certain
52-
reference name expressions (see linkgit:gitrevisions[1]):
52+
reference name expressions (see linkgit:gitrevisions[7]):
5353

5454
. A double-dot `..` is often used as in `ref1..ref2`, and in some
5555
contexts this notation means `{caret}ref1 ref2` (i.e. not in

Documentation/git-cherry-pick.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ OPTIONS
2121
<commit>...::
2222
Commits to cherry-pick.
2323
For a more complete list of ways to spell commits, see
24-
linkgit:gitrevisions[1].
24+
linkgit:gitrevisions[7].
2525
Sets of commits can be passed but no traversal is done by
2626
default, as if the '--no-walk' option was specified, see
2727
linkgit:git-rev-list[1].

Documentation/git-diff.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ for the last two forms that use ".." notations, can be any
6868
<tree-ish>.
6969

7070
For a more complete list of ways to spell <commit>, see
71-
"SPECIFYING REVISIONS" section in linkgit:gitrevisions[1].
71+
"SPECIFYING REVISIONS" section in linkgit:gitrevisions[7].
7272
However, "diff" is about comparing two _endpoints_, not ranges,
7373
and the range notations ("<commit>..<commit>" and
7474
"<commit>\...<commit>") do not mean a range as defined in the
75-
"SPECIFYING RANGES" section in linkgit:gitrevisions[1].
75+
"SPECIFYING RANGES" section in linkgit:gitrevisions[7].
7676

7777
OPTIONS
7878
-------

Documentation/git-fast-import.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ Marks must be declared (via `mark`) before they can be used.
439439
* A complete 40 byte or abbreviated commit SHA-1 in hex.
440440

441441
* Any valid Git SHA-1 expression that resolves to a commit. See
442-
``SPECIFYING REVISIONS'' in linkgit:gitrevisions[1] for details.
442+
``SPECIFYING REVISIONS'' in linkgit:gitrevisions[7] for details.
443443

444444
The special case of restarting an incremental import from the
445445
current branch value should be written as:

Documentation/git-format-patch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ There are two ways to specify which commits to operate on.
3939
that leads to the <since> to be output.
4040

4141
2. Generic <revision range> expression (see "SPECIFYING
42-
REVISIONS" section in linkgit:gitrevisions[1]) means the
42+
REVISIONS" section in linkgit:gitrevisions[7]) means the
4343
commits in the specified range.
4444

4545
The first rule takes precedence in the case of a single <commit>. To

Documentation/git-log.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ OPTIONS
3131
either <since> or <until> is omitted, it defaults to
3232
`HEAD`, i.e. the tip of the current branch.
3333
For a more complete list of ways to spell <since>
34-
and <until>, see linkgit:gitrevisions[1].
34+
and <until>, see linkgit:gitrevisions[7].
3535

3636
--follow::
3737
Continue listing the history of a file beyond renames

Documentation/git-push.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ OPTIONS[[OPTIONS]]
4141
+
4242
The <src> is often the name of the branch you would want to push, but
4343
it can be any arbitrary "SHA-1 expression", such as `master~4` or
44-
`HEAD` (see linkgit:gitrevisions[1]).
44+
`HEAD` (see linkgit:gitrevisions[7]).
4545
+
4646
The <dst> tells which ref on the remote side is updated with this
4747
push. Arbitrary expressions cannot be used here, an actual ref must

Documentation/git-reflog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ see linkgit:git-log[1].
4040
The reflog is useful in various git commands, to specify the old value
4141
of a reference. For example, `HEAD@\{2\}` means "where HEAD used to be
4242
two moves ago", `master@\{one.week.ago\}` means "where master used to
43-
point to one week ago", and so on. See linkgit:gitrevisions[1] for
43+
point to one week ago", and so on. See linkgit:gitrevisions[7] for
4444
more details.
4545

4646
To delete single entries from the reflog, use the subcommand "delete"

Documentation/git-revert.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ OPTIONS
3131
<commit>...::
3232
Commits to revert.
3333
For a more complete list of ways to spell commit names, see
34-
linkgit:gitrevisions[1].
34+
linkgit:gitrevisions[7].
3535
Sets of commits can also be given but no traversal is done by
3636
default, see linkgit:git-rev-list[1] and its '--no-walk'
3737
option.

0 commit comments

Comments
 (0)