Skip to content

Commit 04be694

Browse files
pranitbauva1997gitster
authored andcommitted
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 <[email protected]> Signed-off-by: Pranit Bauva <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0b65a8d commit 04be694

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/rev-list-options.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,8 +638,9 @@ avoid showing the commits from two parallel development track mixed
638638
together.
639639

640640
--reverse::
641-
Output the commits in reverse order.
642-
Cannot be combined with `--walk-reflogs`.
641+
Output the commits chosen to be shown (see Commit Limiting
642+
section above) in reverse order. Cannot be combined with
643+
`--walk-reflogs`.
643644

644645
Object Traversal
645646
~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)