Document --since and --until options to rev-parse.
authorJunio C Hamano <junkio@cox.net>
Thu, 3 Nov 2005 07:41:25 +0000 (23:41 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 3 Nov 2005 07:41:25 +0000 (23:41 -0800)
The usability magic were hidden in the source code without being
documented, and even the maintainer did not know about them ;-).

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-rev-parse.txt

index 099db294f4316fc39b451e2f54f9736bce9baf3b..dfe21391aa8e5630c36ea06180f22b4eb1ce40cc 100644 (file)
@@ -72,6 +72,14 @@ OPTIONS
        path of the current directory relative to the top-level
        directory.
 
+--since=datestring, --after=datestring::
+       Parses the date string, and outputs corresponding
+       --max-age= parameter for git-rev-list command.
+
+--until=datestring, --before=datestring::
+       Parses the date string, and outputs corresponding
+       --min-age= parameter for git-rev-list command.
+
 <args>...::
        Flags and parameters to be parsed.