Skip to content

Commit 21a40b9

Browse files
artagnongitster
authored andcommitted
git-log.txt: generalize <since>..<until>
'<since>..<until>' is misleading, as there are many other forms that 'git log' can accept as an argument. Replace it with <revision range>, referring to the section "Specifying Ranges" in revisions.txt, and rewrite the section appropriately. Signed-off-by: Ramkumar Ramachandra <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a682187 commit 21a40b9

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

Documentation/git-log.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ git-log - Show commit logs
99
SYNOPSIS
1010
--------
1111
[verse]
12-
'git log' [<options>] [<since>..<until>] [[\--] <path>...]
12+
'git log' [<options>] [<revision range>] [[\--] <path>...]
1313

1414
DESCRIPTION
1515
-----------
@@ -62,12 +62,14 @@ produced by --stat etc.
6262
Note that only message is considered, if also a diff is shown
6363
its size is not included.
6464

65-
<since>..<until>::
66-
Show only commits between the named two commits. When
67-
either <since> or <until> is omitted, it defaults to
68-
`HEAD`, i.e. the tip of the current branch.
69-
For a more complete list of ways to spell <since>
70-
and <until>, see linkgit:gitrevisions[7].
65+
<revision range>::
66+
Show only commits in the specified revision range. When no
67+
<revision range> is specified, it defaults to `HEAD` (i.e. the
68+
whole history leading to the current commit). `origin..HEAD`
69+
specifies all the commits reachable from the current commit
70+
(i.e. `HEAD`), but not from `origin`. For a complete list of
71+
ways to spell <revision range>, see the "Specifying Ranges"
72+
section of linkgit:gitrevisions[7].
7173

7274
[\--] <path>...::
7375
Show only commits that are enough to explain how the files

0 commit comments

Comments
 (0)