threads / patch / 17651

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

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

## tl;dr

One message between Feb 8, 2009 and Feb 8, 2009. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Jari Aalto· Feb 8, 2009, 13:01 UTC · lore
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
 Documentation/git-rev-parse.txt |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
Show changes to Documentation/git-rev-parse.txt +3 −1
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

← back to recent threads