summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Pranit Bauva <pranit.bauva@gmail.com>2016-09-27 20:44:09 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-27 15:09:07 -0700
commit04be69478fda74fbce91a6775e5b5946c3cde61e (patch)
treea5bd55521761d643c23ef471b6451f0db847593a
parentGit 2.8.4 (diff)
downloadtgif-04be69478fda74fbce91a6775e5b5946c3cde61e.tar.xz
rev-list-options: clarify the usage of --reverse
Users often wonder if the oldest or the newest n commits are shown by `log -n --reverse`. Clarify that --reverse kicks in only after deciding which commits are to be shown to unconfuse them. Reported-by: Ruediger Meier <sweet_f_a@gmx.de> Signed-off-by: Pranit Bauva <pranit.bauva@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/rev-list-options.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index 4f009d4424..f8946d4d3a 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -638,8 +638,9 @@ avoid showing the commits from two parallel development track mixed
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
~~~~~~~~~~~~~~~~