Re: [PATCH] rev-list: make --max- and --min-age a bit more usable.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 3, 2005, 07:40 UTC
- Message-ID
- <7v64ranpqy.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0511021908220.27915@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> 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 <junkio@cox.net> ---
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. + <args>...:: Flags and parameters to be parsed.