diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2013-04-22 11:00:28 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-21 23:10:40 -0700 |
commit | 21a40b90e9189aa3f3fbae1ca7a4bad55028ed03 (patch) | |
tree | 4b9ac93cbbdcbe177b1a6831229150494386636a /Documentation | |
parent | a682187e190598514fcbd092acace251e9fd633e (diff) | |
download | git-21a40b90e9189aa3f3fbae1ca7a4bad55028ed03.tar.gz |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-log.txt | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt index 64cc337f97..9576695581 100644 --- a/Documentation/git-log.txt +++ b/Documentation/git-log.txt @@ -9,7 +9,7 @@ git-log - Show commit logs SYNOPSIS -------- [verse] -'git log' [<options>] [<since>..<until>] [[\--] <path>...] +'git log' [<options>] [<revision range>] [[\--] <path>...] DESCRIPTION ----------- @@ -62,12 +62,14 @@ produced by --stat etc. Note that only message is considered, if also a diff is shown its size is not included. -<since>..<until>:: - Show only commits between the named two commits. When - either <since> or <until> is omitted, it defaults to - `HEAD`, i.e. the tip of the current branch. - For a more complete list of ways to spell <since> - and <until>, see linkgit:gitrevisions[7]. +<revision range>:: + Show only commits in the specified revision range. When no + <revision range> is specified, it defaults to `HEAD` (i.e. the + whole history leading to the current commit). `origin..HEAD` + specifies all the commits reachable from the current commit + (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>...:: Show only commits that are enough to explain how the files |