git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] doc/config/push: use longer "--" line for preformatted example

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 18, 2020, 21:47 UTC
Message-ID
<xmqqblpvin4a.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20200218212537.GA33327@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> The example for the push.pushOption config tries to create a
> preformatted section, but uses only two dashes in its "--" line. In
> AsciiDoc this is an "open block", with no type; the lines end up jumbled
> because they're formatted as paragraphs. We need four or more dashes to
> make it a "listing block" that will respect the linebreaks.

And the itemized list in push.default is delimited with two dashes as a non listing block, so it is shown correctly as a bulletted list just fine. Makes sense.

Will queue.
Previous: Jeff King
Message 2 of 2 in “doc/config/push: use longer "--" line for preformatted example”
  1. doc/config/push: use longer "--" line for preformatted exampleJeff King, Feb 18, 2020
  2. Junio C HamanoFeb 18, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.