Skip to content

Commit e34bb2e

Browse files
carlosmngitster
authored andcommitted
Documentation: use {asterisk} in rev-list-options.txt when needed
Text between two '*' is emphasized in AsciiDoc and makes explanations in rev-list-options.txt on glob-related options very confusing, as the rendered text would be missing two asterisks and the text between them would be emphasized instead. Use '{asterisk}' where needed to make them show up as asterisks in the rendered text. Signed-off-by: Carlos Martín Nieto <[email protected]> Acked-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c524ceb commit e34bb2e

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)