rev-list --remove-empty: add minimum help and doc entry.
authorJunio C Hamano <junkio@cox.net>
Fri, 27 Jan 2006 09:39:24 +0000 (01:39 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 28 Jan 2006 08:08:38 +0000 (00:08 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-rev-list.txt
rev-list.c
index f9146f1900d48f904f6150888c140fd5f5e1912f..1c6146c7643ef273888b76def0891b8a7ad51c98 100644 (file)
@@ -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>.
index 7d3ddc6ad5b2d6e420993b113f29b991f1f8e138..5bc38fea6607feb14e2f36a839a921ce44df8f53 100644 (file)
@@ -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"