]> granicus.if.org Git - git/commitdiff
rev-list: add --count to usage guide
authorLawrence Siebert <lawrencesiebert@gmail.com>
Wed, 1 Jul 2015 09:24:11 +0000 (02:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Jul 2015 16:29:11 +0000 (09:29 -0700)
--count should be mentioned in the usage guide, this updates code and
documentation.

Signed-off-by: Lawrence Siebert <lawrencesiebert@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rev-list.txt
builtin/rev-list.c

index b10ea60833ca67ca1d3c5bd413958980405575d4..7b49c85347ec583c4d9849a3f0bc878d776e9519 100644 (file)
@@ -56,6 +56,7 @@ SYNOPSIS
             [ --reverse ]
             [ --walk-reflogs ]
             [ --no-walk ] [ --do-walk ]
+            [ --count ]
             [ --use-bitmap-index ]
             <commit>... [ \-- <paths>... ]
 
index ff84a825ff776abc01087f37782223ee26a1af7a..ee9e8725bb241ab6f684dc09c01d59388a74930f 100644 (file)
@@ -42,6 +42,7 @@ static const char rev_list_usage[] =
 "    --abbrev=<n> | --no-abbrev\n"
 "    --abbrev-commit\n"
 "    --left-right\n"
+"    --count\n"
 "  special purpose:\n"
 "    --bisect\n"
 "    --bisect-vars\n"