Skip to content

Commit fc2d99f

Browse files
committed
Merge branch 'cn/maint-rev-list-doc' into maint-1.7.8
* cn/maint-rev-list-doc: Documentation: use {asterisk} in rev-list-options.txt when needed
2 parents 50c9403 + e34bb2e commit fc2d99f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Documentation/rev-list-options.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,27 +117,27 @@ parents) and `--max-parents=-1` (negative numbers denote no upper limit).
117117
Pretend as if all the refs in `refs/heads` are listed
118118
on the command line as '<commit>'. If '<pattern>' is given, limit
119119
branches to ones matching given shell glob. If pattern lacks '?',
120-
'*', or '[', '/*' at the end is implied.
120+
'{asterisk}', or '[', '/{asterisk}' at the end is implied.
121121

122122
--tags[=<pattern>]::
123123

124124
Pretend as if all the refs in `refs/tags` are listed
125125
on the command line as '<commit>'. If '<pattern>' is given, limit
126-
tags to ones matching given shell glob. If pattern lacks '?', '*',
127-
or '[', '/*' at the end is implied.
126+
tags to ones matching given shell glob. If pattern lacks '?', '{asterisk}',
127+
or '[', '/{asterisk}' at the end is implied.
128128

129129
--remotes[=<pattern>]::
130130

131131
Pretend as if all the refs in `refs/remotes` are listed
132132
on the command line as '<commit>'. If '<pattern>' is given, limit
133133
remote-tracking branches to ones matching given shell glob.
134-
If pattern lacks '?', '*', or '[', '/*' at the end is implied.
134+
If pattern lacks '?', '{asterisk}', or '[', '/{asterisk}' at the end is implied.
135135

136136
--glob=<glob-pattern>::
137137
Pretend as if all the refs matching shell glob '<glob-pattern>'
138138
are listed on the command line as '<commit>'. Leading 'refs/',
139-
is automatically prepended if missing. If pattern lacks '?', '*',
140-
or '[', '/*' at the end is implied.
139+
is automatically prepended if missing. If pattern lacks '?', '{asterisk}',
140+
or '[', '/{asterisk}' at the end is implied.
141141

142142
--ignore-missing::
143143

0 commit comments

Comments
 (0)