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

Re: [PATCH] MyFirstContribution: render literal *

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Apr 5, 2023, 13:22 UTC
Message-ID
<CAMP44s128zFcMrK7URUK73ZmzETDRA5SNkWwoHgukZ9Q3f+5Qg@mail.gmail.com>
In-Reply-To
<owlyzg7mubui.fsf@fine.c.googlers.com>
On Wed, Apr 5, 2023 at 12:39 AM Linus Arver <linusa@google.com> wrote:
> Felipe Contreras <felipe.contreras@gmail.com> writes:
Show 23 quoted lines
> > And for what it's worth I would revamp the whole section, something like
> > this:
>
> > --- a/Documentation/MyFirstContribution.txt
> > +++ b/Documentation/MyFirstContribution.txt
> > @@ -1136,18 +1136,18 @@ information on how to handle comments from
> > reviewers.
> >   We'll reuse our `psuh` topic branch for v2. Before we make any changes,
> > we'll
> >   mark the tip of our v1 branch for easy reference:
>
> > -----
> > +....
> >   $ git checkout psuh
> >   $ git branch psuh-v1
> > -----
> > +....
>
>
> While I see the four dots (....) being used to denote regions in other
> files like SubmittingPatches, they are not used at all in
> MyFirstContribution.txt. So I am not sure why we would want to change
> this.

"We" probably don't want to change it, *I* do. Because in AsciiDoc there's a difference between a listing block and a literal block, but the Git documentation does a very poor job of being compatible with AsciiDoc anyway. It doesn't even use the modern syntax. So it probably doesn't matter.

Cheers.
-- 
Felipe Contreras
Previous: Linus ArverNext: Linus Arver
Message 4 of 7 in “MyFirstContribution: render literal *”
  1. MyFirstContribution: render literal *Linus Arver via GitGitGadget, Apr 5, 2023
  2. Felipe ContrerasApr 5, 2023
  3. Linus ArverApr 5, 2023
  4. Felipe ContrerasApr 5, 2023
  5. Linus ArverApr 5, 2023
  6. Felipe ContrerasApr 6, 2023
  7. Taylor BlauApr 6, 2023

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.