From: Junio C Hamano Date: Thu, 03 Nov 2005 07:40:21 GMT Subject: Re: [PATCH] rev-list: make --max- and --min-age a bit more usable. Message-ID: <7v64ranpqy.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > All the magic is in "git-rev-parse". Try it. Ahhhh. I missed that. Thanks. -- >8 -- cut here -- >8 -- Document --since and --until options to rev-parse. 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 --- diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt index 099db29..8b8068c 100644 --- a/Documentation/git-rev-parse.txt +++ b/Documentation/git-rev-parse.txt @@ -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. + ...:: Flags and parameters to be parsed.