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

[PATCH] git-rev-parse.txt: In @{date} spec mention that spaces can be substituted with dots

From
Jari Aalto <jari.aalto@cante.net>
Date
Feb 8, 2009, 13:01 UTC
Message-ID
<87iqnlxetj.fsf@jondo.cante.net>
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
 Documentation/git-rev-parse.txt |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
index 3ccef2f..7a081b3 100644
--- a/Documentation/git-rev-parse.txt
+++ b/Documentation/git-rev-parse.txt
@@ -193,7 +193,9 @@ when you run 'git-merge'.
   enclosed in a brace
   pair (e.g. '\{yesterday\}', '\{1 month 2 weeks 3 days 1 hour 1
   second ago\}' or '\{1979-02-26 18:30:00\}') to specify the value
-  of the ref at a prior point in time.  This suffix may only be
+  of the ref at a prior point in time. At shell prompt, enclose the
+  value in quotes due to embedded spaces. Alternatively the spaces can
+  be substituted with dots like in '\{1.hour.ago}\'. This suffix may only be
   used immediately following a ref name and the ref must have an
   existing log ($GIT_DIR/logs/<ref>). Note that this looks up the state
   of your *local* ref at a given time; e.g., what was in your local
-- 
1.5.6.5
Message 1 of 1 in “git-rev-parse.txt: In @{date} spec mention that spaces can be substituted with dots”
  1. git-rev-parse.txt: In @{date} spec mention that spaces can be substituted with dotsJari Aalto, Feb 8, 2009

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.