Re: [PATCH] docs/git-submodule: fix unbalanced quote

2017-02-13 Thread Junio C Hamano
Jeff King writes: > However, let's take a step back. Even when rendered > correctly, it's hard to read a long command stuck into the > middle of a paragraph, and the important punctuation is hard > to notice. Yes, I like this reasoning behind the solution very much. Thanks. >

[PATCH] docs/git-submodule: fix unbalanced quote

2017-02-13 Thread Jeff King
The documentation gives an example of the submodule foreach command that uses both backticks and single-quotes. We stick the whole thing inside "+" markers to make it monospace, but the inside punctuation still needs escaping. We handle the backticks with "{backtick}", and use backslash-escaping