@matheusbsbs / matheus-bagliano / commits / 190767f6c1
Fork 0

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>

Michael J Gruber committed Mar 8, 2011 at 09:31 UTC 190767f6c15edef430498a10356cb6d573934e7a
2 files changed +3 -1
Documentation/git-log.txt
+1
@@ -25,6 +25,7 @@ OPTIONS
25
26 -<n>::
27 Limits the number of commits to show.
28 + Note that this is a commit limiting option, see below.
29
30 <since>..<until>::
31 Show only commits between the named two commits. When
Documentation/rev-list-options.txt
+2 -1
@@ -158,7 +158,8 @@ Commit Limiting
158
159 Besides specifying a range of commits that should be listed using the
160 special notations explained in the description, additional commit
161 -limiting may be applied.
161 +limiting may be applied. Note that they are applied before commit
162 +ordering and formatting options, such as '--reverse'.
163
164 --
165