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

Re: [PATCH] MyFirstContribution: render literal *

From
LALinus Arver <linusa@google.com>
Date
Apr 5, 2023, 05:39 UTC
Message-ID
<owlyzg7mubui.fsf@fine.c.googlers.com>
In-Reply-To
<CAMP44s15E0xJwXv8qGp8FqQvB_KaxS2TXenNZNH_VzvXpXv4Hw@mail.gmail.com>
Hello Felipe!
Felipe Contreras <felipe.contreras@gmail.com> writes:
> Small nit: with this change we would lose the quotes, which are
> helpful, I would rather do "`foo`".

I see that the doc currently does not quote backticked areas, so this would be introducing a new style. I think such a change should belong in a separate patch.

That being said, personally I think having the quotes around the backticks makes things harder to read, especially for users directly reading from the raw *.txt file.

> And for what it's worth I would revamp the whole section, something like  
> this:
Show 7 quoted lines
> --- 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:
Show 6 quoted lines
> -----
> +....
>   $ 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.

Previous: Felipe ContrerasNext: Felipe Contreras
Message 3 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.