git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Specified the expected formats of dates and timestamps in rev-list-options.

From
RKRhodes, Kate <masukomi@gmail.com>
Date
Mar 11, 2008, 03:41 UTC
Message-ID
<FC7C7E68-1D91-4719-9D11-8F65DEA43AFB@gmail.com>

The docs didn't give users any indication of the expected format of dates or timestamps. Now they do.

---

Documentation/rev-list-options.txt | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/Documentation/rev-list-options.txt b/Documentation/rev- 
list-options.txt
index a8138e2..bf0b881 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -124,15 +124,20 @@ limiting may be applied.

--since='date', --after='date'::

-	Show commits more recent than a specific date.
+	Show commits more recent than a date specified relatively
+	(e.g. "2 hours ago") or with any ISO 8601 or RFC 2822
+	date syntax.
+

--until='date', --before='date'::

-	Show commits older than a specific date.
+	Show commits older than a date specified relatively (e.g.
+	"2 hours ago") or with any ISO 8601 or RFC 2822 date syntax.

--max-age='timestamp', --min-age='timestamp'::

	Limit the commits output to specified time range.
+	The 'timestamp' should be the interger seconds since the epoch.

--author='pattern', --committer='pattern'::
-- 
1.5.4.1.1278.gc75be
Next: Junio C Hamano
Message 1 of 2 in “Specified the expected formats of dates and timestamps in rev-list-options.”
  1. Specified the expected formats of dates and timestamps in rev-list-options.Rhodes, Kate, Mar 11, 2008
  2. Junio C HamanoMar 11, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.