Skip to content

Commit

Permalink
git-log.txt,rev-list-options.txt: -n/--max-count is commit limiting
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael J Gruber authored and Junio C Hamano committed Mar 8, 2011
1 parent 841d811 commit 190767f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Documentation/git-log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion Documentation/rev-list-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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'.

--

Expand Down

0 comments on commit 190767f

Please sign in to comment.