Skip to content

Commit 75d2e5a

Browse files
gryftirgitster
authored andcommitted
rev-list: add --count to usage guide
--count should be mentioned in the usage guide, this updates code and documentation. Signed-off-by: Lawrence Siebert <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 351d06d commit 75d2e5a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Documentation/git-rev-list.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ SYNOPSIS
5656
[ --reverse ]
5757
[ --walk-reflogs ]
5858
[ --no-walk ] [ --do-walk ]
59+
[ --count ]
5960
[ --use-bitmap-index ]
6061
<commit>... [ \-- <paths>... ]
6162

builtin/rev-list.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ static const char rev_list_usage[] =
4242
" --abbrev=<n> | --no-abbrev\n"
4343
" --abbrev-commit\n"
4444
" --left-right\n"
45+
" --count\n"
4546
" special purpose:\n"
4647
" --bisect\n"
4748
" --bisect-vars\n"

0 commit comments

Comments
 (0)