Skip to content

Commit

Permalink
Merge branch 'nd/log-n-doc'
Browse files Browse the repository at this point in the history
* nd/log-n-doc:
  doc: move rev-list option -<n> from git-log.txt to rev-list-options.txt
  • Loading branch information
Junio C Hamano committed Sep 12, 2012
2 parents f4e9644 + 70c2a25 commit 2cdfb60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions Documentation/git-log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ each commit introduces are shown.
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
either <since> or <until> is omitted, it defaults to
Expand Down Expand Up @@ -137,6 +133,8 @@ Examples
This makes sense only when following a strict policy of merging all
topic branches when staying on a single integration branch.

`git log -3`::
Limits the number of commits to show to 3.

Discussion
----------
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 @@ -8,7 +8,8 @@ ordering and formatting options, such as '--reverse'.

--

-n 'number'::
-<number>::
-n <number>::
--max-count=<number>::

Limit the number of commits to output.
Expand Down

0 comments on commit 2cdfb60

Please sign in to comment.