]> git.ipfire.org Git - thirdparty/git.git/commitdiff
rev-list-options: clarify the usage of --reverse
authorPranit Bauva <pranit.bauva@gmail.com>
Tue, 27 Sep 2016 20:44:09 +0000 (20:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Sep 2016 22:09:07 +0000 (15:09 -0700)
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>
Documentation/rev-list-options.txt

index 4f009d44240e3725e25bc8a9a3acd999d69cc487..f8946d4d3afdad167c38858c78078ece4316d550 100644 (file)
@@ -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
 ~~~~~~~~~~~~~~~~