From: Junio C Hamano <junkio@cox.net>
To: Linus Torvalds <torvalds@osdl.org>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] rev-list: make --max- and --min-age a bit more usable.
Date: Wed, 02 Nov 2005 23:40:21 -0800 [thread overview]
Message-ID: <7v64ranpqy.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0511021908220.27915@g5.osdl.org> (Linus Torvalds's message of "Wed, 2 Nov 2005 19:11:00 -0800 (PST)")
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.
prev parent reply other threads:[~2005-11-03 7:40 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-30 1:29 GIT 0.99.9 Junio C Hamano
2005-10-30 3:16 ` A Large Angry SCM
2005-10-30 3:39 ` Junio C Hamano
2005-10-30 4:03 ` A Large Angry SCM
2005-10-30 13:21 ` Johannes Schindelin
2005-10-30 5:05 ` Linus Torvalds
2005-10-30 8:37 ` rev-list --sparse? Junio C Hamano
2005-10-30 21:42 ` Linus Torvalds
2005-10-30 23:31 ` Junio C Hamano
2005-10-30 17:20 ` GIT 0.99.9 Wolfgang Denk
2005-10-30 17:31 ` Junio C Hamano
2005-10-30 20:23 ` Wolfgang Denk
2005-10-30 20:46 ` Junio C Hamano
2005-10-31 3:21 ` Horst von Brand
2005-10-30 20:38 ` Wolfgang Denk
2005-10-30 22:31 ` Ryan Anderson
2005-10-30 22:54 ` Junio C Hamano
2005-10-30 23:03 ` H. Peter Anvin
2005-10-31 2:52 ` Linus Torvalds
2005-10-31 3:08 ` Junio C Hamano
2005-10-31 4:05 ` Linus Torvalds
2005-10-31 21:40 ` Archaeology [Was: Re: GIT 0.99.9] Horst von Brand
2005-10-31 23:47 ` Date-based limits (Was Re: GIT 0.99.9) Daniel Barkalow
2005-11-01 0:37 ` Date-based limits Junio C Hamano
2005-11-01 0:43 ` Daniel Barkalow
2005-11-02 19:02 ` [PATCH] rev-list: make --max- and --min-age a bit more usable Junio C Hamano
2005-11-03 3:11 ` Linus Torvalds
2005-11-03 7:40 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7v64ranpqy.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=git@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).