]> git.cworth.org Git - hgbook-git/commitdiff
Mention -n as an alias for--max-count
authorCarl Worth <cworth@cworth.org>
Fri, 28 Sep 2007 05:10:12 +0000 (22:10 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 28 Sep 2007 05:10:12 +0000 (22:10 -0700)
tour.mdwn

index 6a43df9cd847aae7a5b17afbc531b3160089e372..56690e10341500c4d1569cbd14f41db1ac4f0843 100644 (file)
--- a/tour.mdwn
+++ b/tour.mdwn
@@ -396,8 +396,8 @@ created:
 
        $ git log --since="2 weeks ago" --until="yesterday"
 
-Another useful option is --max-count which, unsurprisingly, limits the
-maximum number of commits to be displayed.
+Another useful option is -n or --max-count which, unsurprisingly,
+limits the maximum number of commits to be displayed.
 
 #### 2.4.3  More detailed information
 
@@ -439,7 +439,7 @@ looks suspicous, so let's tak a closer look. Remember that we can name
 it as master~3, HEAD~3, or any prefix of its commit identifier, (such
 as 13ed136b):
 
-       $ git log -p --max-count=1 13ed136b
+       $ git log -p -1 13ed136b
        commit 13ed136b983a9c439eddeea8a1c2076cffbb685f
        Author: Bryan O'Sullivan <bos@serpentine.com>
        Date:   Tue Sep 6 13:15:43 2005 -0700