Merge branch 'pb/rev-list-reverse-with-count'
authorJunio C Hamano <gitster@pobox.com>
Mon, 3 Oct 2016 20:30:39 +0000 (13:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Oct 2016 20:30:39 +0000 (13:30 -0700)
Doc update to clarify what "log -3 --reverse" does.

* pb/rev-list-reverse-with-count:
rev-list-options: clarify the usage of --reverse

1  2 
Documentation/rev-list-options.txt
index 7e462d3841daa1e7c11af224a98c6d7cf0b801a4,f8946d4d3afdad167c38858c78078ece4316d550..5da7cf5a8d02d6fd52993f042f29efe4cc749051
@@@ -193,7 -193,7 +193,7 @@@ endif::git-rev-list[
  
  --stdin::
        In addition to the '<commit>' listed on the command
 -      line, read them from the standard input. If a '--' separator is
 +      line, read them from the standard input. If a `--` separator is
        seen, stop reading commits and start reading paths to limit the
        result.
  
@@@ -225,7 -225,7 +225,7 @@@ excluded from the output
  
  --left-only::
  --right-only::
 -      List only commits on the respective side of a symmetric range,
 +      List only commits on the respective side of a symmetric difference,
        i.e. only those which would be marked `<` resp. `>` by
        `--left-right`.
  +
@@@ -252,25 -252,10 +252,25 @@@ list
  +
  With `--pretty` format other than `oneline` (for obvious reasons),
  this causes the output to have two extra lines of information
 -taken from the reflog.  By default, 'commit@\{Nth}' notation is
 -used in the output.  When the starting commit is specified as
 -'commit@\{now}', output also uses 'commit@\{timestamp}' notation
 -instead.  Under `--pretty=oneline`, the commit message is
 +taken from the reflog.  The reflog designator in the output may be shown
 +as `ref@{Nth}` (where `Nth` is the reverse-chronological index in the
 +reflog) or as `ref@{timestamp}` (with the timestamp for that entry),
 +depending on a few rules:
 ++
 +--
 +1. If the starting point is specified as `ref@{Nth}`, show the index
 +format.
 ++
 +2. If the starting point was specified as `ref@{now}`, show the
 +timestamp format.
 ++
 +3. If neither was used, but `--date` was given on the command line, show
 +the timestamp in the format requested by `--date`.
 ++
 +4. Otherwise, show the index format.
 +--
 ++
 +Under `--pretty=oneline`, the commit message is
  prefixed with this information on the same line.
  This option cannot be combined with `--reverse`.
  See also linkgit:git-reflog[1].
@@@ -289,10 -274,6 +289,10 @@@ ifdef::git-rev-list[
        Try to speed up the traversal using the pack bitmap index (if
        one is available). Note that when traversing with `--objects`,
        trees and blobs will not have their associated path printed.
 +
 +--progress=<header>::
 +      Show progress reports on stderr as objects are considered. The
 +      `<header>` text will be printed with each progress update.
  endif::git-rev-list[]
  
  --
@@@ -657,8 -638,9 +657,9 @@@ avoid showing the commits from two para
  together.
  
  --reverse::
-       Output the commits in reverse order.
-       Cannot be combined with `--walk-reflogs`.
+       Output the commits chosen to be shown (see Commit Limiting
+       section above) in reverse order. Cannot be combined with
+       `--walk-reflogs`.
  
  Object Traversal
  ~~~~~~~~~~~~~~~~
@@@ -729,8 -711,8 +730,8 @@@ include::pretty-options.txt[
        `iso-local`), the user's local time zone is used instead.
  +
  `--date=relative` shows dates relative to the current time,
 -e.g. ``2 hours ago''. The `-local` option cannot be used with
 -`--raw` or `--relative`.
 +e.g. ``2 hours ago''. The `-local` option has no effect for
 +`--date=relative`.
  +
  `--date=local` is an alias for `--date=default-local`.
  +
@@@ -750,18 -732,7 +751,18 @@@ format, often found in email messages
  +
  `--date=short` shows only the date, but not the time, in `YYYY-MM-DD` format.
  +
 -`--date=raw` shows the date in the internal raw Git format `%s %z` format.
 +`--date=raw` shows the date as seconds since the epoch (1970-01-01
 +00:00:00 UTC), followed by a space, and then the timezone as an offset
 +from UTC (a `+` or `-` with four digits; the first two are hours, and
 +the second two are minutes). I.e., as if the timestamp were formatted
 +with `strftime("%s %z")`).
 +Note that the `-local` option does not affect the seconds-since-epoch
 +value (which is always measured in UTC), but does switch the accompanying
 +timezone value.
 ++
 +`--date=unix` shows the date as a Unix epoch timestamp (seconds since
 +1970).  As with `--raw`, this is always in UTC and therefore `-local`
 +has no effect.
  +
  `--date=format:...` feeds the format `...` to your system `strftime`.
  Use `--date=format:%c` to show the date in your system locale's
@@@ -796,7 -767,7 +797,7 @@@ ifdef::git-rev-list[
  endif::git-rev-list[]
  
  --left-right::
 -      Mark which side of a symmetric diff a commit is reachable from.
 +      Mark which side of a symmetric difference a commit is reachable from.
        Commits from the left side are prefixed with `<` and those from
        the right with `>`.  If combined with `--boundary`, those
        commits are prefixed with `-`.