aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2011-03-08 09:31:25 +0100
committerJunio C Hamano <gitster@pobox.com>2011-03-08 11:59:43 -0800
commit190767f6c15edef430498a10356cb6d573934e7a (patch)
treebdbde34d0b307ccc7c71d5e611d24aba1b924456
parent841d81180e6754b18559220087decf01f504b203 (diff)
downloadgit-190767f6c15edef430498a10356cb6d573934e7a.tar.gz
git-190767f6c15edef430498a10356cb6d573934e7a.tar.xz
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 <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-log.txt1
-rw-r--r--Documentation/rev-list-options.txt3
2 files changed, 3 insertions, 1 deletions
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
-<n>::
Limits the number of commits to show.
+ Note that this is a commit limiting option, see below.
<since>..<until>::
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'.
--