summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLawrence Siebert <lawrencesiebert@gmail.com>2015-07-01 02:24:11 -0700
committerJunio C Hamano <gitster@pobox.com>2015-07-01 09:29:11 -0700
commit75d2e5a7b038debee406805c9e21a86e7c085789 (patch)
tree91c35b002569befb378fff5b0698bef573125e13
parent351d06df519ee405a1926e0c6ee34d6a1dba6b46 (diff)
downloadgit-ls/hint-rev-list-count.tar.gz
rev-list: add --count to usage guidels/hint-rev-list-count
--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>
-rw-r--r--Documentation/git-rev-list.txt1
-rw-r--r--builtin/rev-list.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/git-rev-list.txt b/Documentation/git-rev-list.txt
index b10ea60833..7b49c85347 100644
--- a/Documentation/git-rev-list.txt
+++ b/Documentation/git-rev-list.txt
@@ -56,6 +56,7 @@ SYNOPSIS
[ --reverse ]
[ --walk-reflogs ]
[ --no-walk ] [ --do-walk ]
+ [ --count ]
[ --use-bitmap-index ]
<commit>... [ \-- <paths>... ]
diff --git a/builtin/rev-list.c b/builtin/rev-list.c
index ff84a825ff..ee9e8725bb 100644
--- a/builtin/rev-list.c
+++ b/builtin/rev-list.c
@@ -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"