Thread (5 messages) flat view 5 messages, 2 authors, 2016-06-15

Re: [PATCH] git-push.txt: describe how to default to pushing only current branch

From: Jeff King <hidden>
Date: 2016-06-15 22:46:23
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

Possibly related (same subject, not in this thread)

On Sat, Mar 14, 2009 at 04:34:34PM -0400, Jeff King wrote:
The question is how it _should_ be rendered. Monospace isn't really
useful for terminals. Maybe simply putting quotation marks around it
would cover all situations (I'm worried it will look funny for
single-word instances).
And here's a patch that does that; skimming through the output it
doesn't look too bad. What do you guys think?

---
diff --git a/Documentation/callouts.xsl b/Documentation/callouts.xsl
index 6a361a2..01df100 100644
--- a/Documentation/callouts.xsl
+++ b/Documentation/callouts.xsl
@@ -27,4 +27,6 @@
   </xsl:if>
 </xsl:template>
 
+<xsl:template match="literal">"<xsl:apply-templates/>"</xsl:template>
+
 </xsl:stylesheet>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help