Skip to content

Commit 93b74bc

Browse files
author
Junio C Hamano
committed
rev-list --remove-empty: add minimum help and doc entry.
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 461cf59 commit 93b74bc

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Documentation/git-rev-list.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ SYNOPSIS
1414
[ \--min-age=timestamp ]
1515
[ \--sparse ]
1616
[ \--no-merges ]
17+
[ \--remove-empty ]
1718
[ \--all ]
1819
[ [ \--merge-order [ \--show-breaks ] ] | [ \--topo-order ] ]
1920
[ \--parents ]
@@ -80,6 +81,9 @@ OPTIONS
8081
(still subject to count and age limitation), but apply
8182
merge simplification nevertheless.
8283

84+
--remove-empty::
85+
Stop when a given path disappears from the tree.
86+
8387
--all::
8488
Pretend as if all the refs in `$GIT_DIR/refs/` are
8589
listed on the command line as <commit>.

rev-list.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ static const char rev_list_usage[] =
2121
" --min-age=epoch\n"
2222
" --sparse\n"
2323
" --no-merges\n"
24+
" --remove-empty\n"
2425
" --all\n"
2526
" ordering output:\n"
2627
" --merge-order [ --show-breaks ]\n"

0 commit comments

Comments
 (0)