From 190767f6c15edef430498a10356cb6d573934e7a Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Tue, 8 Mar 2011 09:31:25 +0100 Subject: [PATCH] git-log.txt,rev-list-options.txt: -n/--max-count is commit limiting They are applied after commit ordering and formatting options, in particular --reverse. Signed-off-by: Michael J Gruber Signed-off-by: Junio C Hamano --- Documentation/git-log.txt | 1 + Documentation/rev-list-options.txt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt index ff41784c6..48c171512 100644 --- a/Documentation/git-log.txt +++ b/Documentation/git-log.txt @@ -25,6 +25,7 @@ OPTIONS -:: Limits the number of commits to show. + Note that this is a commit limiting option, see below. ..:: Show only commits between the named two commits. When diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt index 9c47ad885..46b7e64c8 100644 --- a/Documentation/rev-list-options.txt +++ b/Documentation/rev-list-options.txt @@ -158,7 +158,8 @@ Commit Limiting Besides specifying a range of commits that should be listed using the special notations explained in the description, additional commit -limiting may be applied. +limiting may be applied. Note that they are applied before commit +ordering and formatting options, such as '--reverse'. -- -- 2.30.2