diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt index 1f906208f9514180fe9f20293ab28ce8180b5357..585dac40baabbee291f43a6e7c59c36340286e43 100644 --- a/Documentation/git-log.txt +++ b/Documentation/git-log.txt @@ -24,10 +24,6 @@ each commit introduces are shown. 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 either or is omitted, it defaults to @@ -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 ---------- diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt index 5436eba6e761716cfeaee2683566137736497791..918c1109f263c667264c9961c118d549795eab9d 100644 --- a/Documentation/rev-list-options.txt +++ b/Documentation/rev-list-options.txt @@ -8,7 +8,8 @@ ordering and formatting options, such as '--reverse'. -- --n 'number':: +-:: +-n :: --max-count=:: Limit the number of commits to output.