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 <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Ramkumar Ramachandra 2013-04-22 11:00:28 +05:30 committed by Junio C Hamano
parent a682187e19
commit 21a40b90e9
1 changed files with 9 additions and 7 deletions

View File

@ -9,7 +9,7 @@ git-log - Show commit logs
SYNOPSIS SYNOPSIS
-------- --------
[verse] [verse]
'git log' [<options>] [<since>..<until>] [[\--] <path>...] 'git log' [<options>] [<revision range>] [[\--] <path>...]


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


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


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