summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-07-27 12:21:47 -0700
committerJunio C Hamano <gitster@pobox.com>2015-07-27 12:21:47 -0700
commit3afcec9057ed2c13338ab53a9fa34b8a031e5b23 (patch)
treec7b7f7cc0c66c3b9db6688276c3aba7190fa5f67
parent315b3ba3e421f66527a71bbc2e3a7c90e9c6d8e5 (diff)
parent75d2e5a7b038debee406805c9e21a86e7c085789 (diff)
downloadgit-3afcec9057ed2c13338ab53a9fa34b8a031e5b23.tar.gz
Merge branch 'ls/hint-rev-list-count' into maint
* ls/hint-rev-list-count: rev-list: add --count to usage guide
-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 88eddbd53a..c0b4b53652 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"