Skip to contentSkip to conversation

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

PATCH New Jari Aalto 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore

Jari Aalto

author
#0 lore raw

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

---
 Documentation/git-rev-parse.txt |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
Documentation/git-rev-parse.txt +3 -1
index 3ccef2f..7a081b3 100644
@@ -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
Signature · 1 line
1.5.6.5