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

Re: [PATCH] Fix wrong info in `INSTALL`

From
Junio C Hamano <gitster@pobox.com>
Date
May 25, 2022, 16:05 UTC
Message-ID
<xmqqo7zla985.fsf@gitster.g>
In-Reply-To
<CAP8UFD2BS3OuJD7xhb6M+bX3ojLqM8ZuXK_h4w0CvdYRfmzVqg@mail.gmail.com>
Christian Couder <christian.couder@gmail.com> writes:
> So we could perhaps get rid of the ';', but on the other hand ";#"
> should make it extra clear that the command before it ended and that
> the rest of the line is a comment.

True. In modern shells, ";" in the ";#" sequence may not be necessary, but consistently writing ";#" as if it were a single token would probably be a good idea in the documentation.

Of course, if we can declare that the usefulness of the monospace plain text document does not matter, we could do without ";#" and typeset the comment (and the prompt) in different font and/or color. It would make it easier to see which part of the line is what is to be typed verbatim.

Thanks.
Previous: Christian Couder
Message 6 of 6 in “Fix wrong info in `INSTALL`”
  1. Fix wrong info in `INSTALL`Shao-Ce SUN via GitGitGadget, May 24, 2022
  2. Ævar Arnfjörð BjarmasonMay 24, 2022
  3. Philippe BlainMay 24, 2022
  4. Junio C HamanoMay 24, 2022
  5. Christian CouderMay 25, 2022
  6. Junio C HamanoMay 25, 2022

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.