@@ -61,19 +61,19 @@ some output processing may assume ref names in UTF-8.
61
61
'@'::
62
62
'@' alone is a shortcut for 'HEAD'.
63
63
64
- '<refname>@\ {<date>\ }', e.g. 'master@\{yesterday\}', 'HEAD@\ {5 minutes ago\ }'::
64
+ '<refname>@{<date>}', e.g. 'master@\{yesterday\}', 'HEAD@{5 minutes ago}'::
65
65
A ref followed by the suffix '@' with a date specification
66
66
enclosed in a brace
67
- pair (e.g. '\{yesterday\}', '\ {1 month 2 weeks 3 days 1 hour 1
68
- second ago\ }' or '\ {1979-02-26 18:30:00\ }') specifies the value
67
+ pair (e.g. '\{yesterday\}', '{1 month 2 weeks 3 days 1 hour 1
68
+ second ago}' or '{1979-02-26 18:30:00}') specifies the value
69
69
of the ref at a prior point in time. This suffix may only be
70
70
used immediately following a ref name and the ref must have an
71
71
existing log ('$GIT_DIR/logs/<ref>'). Note that this looks up the state
72
72
of your *local* ref at a given time; e.g., what was in your local
73
73
'master' branch last week. If you want to look at commits made during
74
74
certain times, see '--since' and '--until'.
75
75
76
- '<refname>@\ {<n>\ }', e.g. 'master@\{1\}'::
76
+ '<refname>@{<n>}', e.g. 'master@\{1\}'::
77
77
A ref followed by the suffix '@' with an ordinal specification
78
78
enclosed in a brace pair (e.g. '\{1\}', '\{15\}') specifies
79
79
the n-th prior value of that ref. For example 'master@\{1\}'
@@ -82,13 +82,13 @@ some output processing may assume ref names in UTF-8.
82
82
immediately following a ref name and the ref must have an existing
83
83
log ('$GIT_DIR/logs/<refname>').
84
84
85
- '@\ {<n>\ }', e.g. '@\{1\}'::
85
+ '@{<n>}', e.g. '@\{1\}'::
86
86
You can use the '@' construct with an empty ref part to get at a
87
87
reflog entry of the current branch. For example, if you are on
88
88
branch 'blabla' then '@\{1\}' means the same as 'blabla@\{1\}'.
89
89
90
- '@\ {-<n>\ }', e.g. '@\ {-1\ }'::
91
- The construct '@\ {-<n>\ }' means the <n>th branch/commit checked out
90
+ '@{-<n>}', e.g. '@{-1}'::
91
+ The construct '@{-<n>}' means the <n>th branch/commit checked out
92
92
before the current one.
93
93
94
94
'<branchname>@\{upstream\}', e.g. 'master@\{upstream\}', '@\{u\}'::
@@ -139,7 +139,7 @@ from one location and push to another. In a non-triangular workflow,
139
139
'<rev>{caret}1{caret}1{caret}1'. See below for an illustration of
140
140
the usage of this form.
141
141
142
- '<rev>{caret}\ {<type>\ }', e.g. 'v0.99.8{caret}\{commit\}'::
142
+ '<rev>{caret}{<type>}', e.g. 'v0.99.8{caret}\{commit\}'::
143
143
A suffix '{caret}' followed by an object type name enclosed in
144
144
brace pair means dereference the object at '<rev>' recursively until
145
145
an object of type '<type>' is found or the object cannot be
@@ -159,13 +159,13 @@ it does not have to be dereferenced even once to get to an object.
159
159
'rev{caret}\{tag\}' can be used to ensure that 'rev' identifies an
160
160
existing tag object.
161
161
162
- '<rev>{caret}\{\ }', e.g. 'v0.99.8{caret}\{\ }'::
162
+ '<rev>{caret}{ }', e.g. 'v0.99.8{caret}{ }'::
163
163
A suffix '{caret}' followed by an empty brace pair
164
164
means the object could be a tag,
165
165
and dereference the tag recursively until a non-tag object is
166
166
found.
167
167
168
- '<rev>{caret}\ {/<text>\ }', e.g. 'HEAD^{/fix nasty bug}'::
168
+ '<rev>{caret}{/<text>}', e.g. 'HEAD^{/fix nasty bug}'::
169
169
A suffix '{caret}' to a revision parameter, followed by a brace
170
170
pair that contains a text led by a slash,
171
171
is the same as the ':/fix nasty bug' syntax below except that
0 commit comments