mirror of
https://github.com/git/git.git
synced 2026-01-14 04:37:41 +00:00
fetch-options.txt: prevent a wildcard refspec from getting misformatted
When explaining the "--tags" option as an equivalent to giving an
explicit "refs/tags/*:refs/tags/*" refspec, the two asterisks were
misinterpreted by AsciiDoc as a request to typeset the string
segment between them in bold.
We could fix it in two ways. We can replace them with {asterisk}s
while keeping the string as body text, or we can mark it as a
literal string with backquotes around it.
Let's do the latter, as it is teaching the user an "exactly as
typed" alternative.
Noticed-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
@@ -57,7 +57,7 @@ endif::git-pull[]
|
||||
ifndef::git-pull[]
|
||||
-t::
|
||||
--tags::
|
||||
This is a short-hand for giving "refs/tags/*:refs/tags/*"
|
||||
This is a short-hand for giving `refs/tags/*:refs/tags/*`
|
||||
refspec from the command line, to ask all tags to be fetched
|
||||
and stored locally. Because this acts as an explicit
|
||||
refspec, the default refspecs (configured with the
|
||||
|
||||
Reference in New Issue
Block a user