From: Stefan Richter Date: Tue, 03 Oct 2006 09:19:20 GMT Subject: pull-fetch-param.txt (was Re: [PATCH] escape tilde in Documentation/git-rev-parse.txt) Message-ID: <45222B18.1090305@s5r6.in-berlin.de> In-Reply-To: <7vven1rfpj.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > It's a bit sad that asciidoc's nicer quoting features > are not backward compatible. Yes, this is awkward. Here comes the next candidate for quoting. In pull-fetch-param.txt: ----8<---- :: The canonical format of a parameter is `+?:`; that is, an optional plus `+`, followed by the source ref, followed by a colon `:`, followed by the destination ref. + The remote ref that matches is fetched, and if is not empty string, the local ref that matches it is fast forwarded using . Again, if the optional plus `+` is used, the local ref ---->8---- "man git-fetch" and "man git-pull" show: ----8<---- The canonical format of a parameter is ?:; that is, an optional plus, followed by the source ref, followed by a colon :, followed by the destination ref. The remote ref that matches is fetched, and if is not empty string, the local ref that matches it is fast for- warded using . Again, if the optional plus + is used, the ---->8---- I.e. the first and second + were swallowed, but not the third one. This is the fix for asciidoc 8.0.0: `$$+$$?:`; that is, an optional plus `+`, followed Here is another fix that works with asciidoc 8.0.0: `\+?:`; that is, an optional plus `+`, followed Results in ----8<---- The canonical format of a parameter is +?:; that is, an optional plus +, followed by the source ref, fol- lowed by a colon :, followed by the destination ref. The remote ref that matches is fetched, and if is not empty string, the local ref that matches it is fast for- warded using . Again, if the optional plus + is used, the ---->8---- Does the backslash notation work with asciidoc 7? -- Stefan Richter -=====-=-==- =-=- ---== http://arcgraph.de/sr/