diff options
author | Junio C Hamano <junkio@cox.net> | 2006-01-27 01:39:24 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-01-28 00:08:38 -0800 |
commit | 93b74bca86f59b8df410b6fd4803b88ee0f304bf (patch) | |
tree | b44f43e36909e8ac64b34f405aba047c77ba5c01 | |
parent | rev-list: stop when the file disappears (diff) | |
download | tgif-93b74bca86f59b8df410b6fd4803b88ee0f304bf.tar.xz |
rev-list --remove-empty: add minimum help and doc entry.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r-- | Documentation/git-rev-list.txt | 4 | ||||
-rw-r--r-- | rev-list.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-rev-list.txt b/Documentation/git-rev-list.txt index f9146f1900..1c6146c764 100644 --- a/Documentation/git-rev-list.txt +++ b/Documentation/git-rev-list.txt @@ -14,6 +14,7 @@ SYNOPSIS [ \--min-age=timestamp ] [ \--sparse ] [ \--no-merges ] + [ \--remove-empty ] [ \--all ] [ [ \--merge-order [ \--show-breaks ] ] | [ \--topo-order ] ] [ \--parents ] @@ -80,6 +81,9 @@ OPTIONS (still subject to count and age limitation), but apply merge simplification nevertheless. +--remove-empty:: + Stop when a given path disappears from the tree. + --all:: Pretend as if all the refs in `$GIT_DIR/refs/` are listed on the command line as <commit>. diff --git a/rev-list.c b/rev-list.c index 7d3ddc6ad5..5bc38fea66 100644 --- a/rev-list.c +++ b/rev-list.c @@ -21,6 +21,7 @@ static const char rev_list_usage[] = " --min-age=epoch\n" " --sparse\n" " --no-merges\n" +" --remove-empty\n" " --all\n" " ordering output:\n" " --merge-order [ --show-breaks ]\n" |