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

Re: [PATCH] docs: add missing colon to Documentation/config/gpg.txt

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Dec 17, 2021, 15:44 UTC
Message-ID
<CAPig+cTfL3e28geHMG6aga-1zSSYSgXknQKO-62msn3LO=+iZA@mail.gmail.com>
In-Reply-To
<1e5dba11-fa01-44e1-b341-9d69bbdbbd39@www.fastmail.com>
On Fri, Dec 17, 2021 at 7:13 AM Greg Hurrell <greg@hurrell.net> wrote:
Show 9 quoted lines
> The missing colon here caused the docs to misrender in places such as:
>
>     https://git-scm.com/docs/git-config
>
> where, the `gpg.ssh.defaultKeyCommand` option lacked bold styling and
> didn't get an anchor link like its neighbors have; eg:
>
>     https://git-scm.com/docs/git-config#Documentation/git-config.txt-gpgsshallowedSignersFile
> ---
Thanks, this fix is "obviously correct".
Please add your Signed-off-by: at the end of the commit message.
Minor: The commit message could work just as well without mentioning a
particular site hosting documentation, so something like this would
also be fine:
    Add missing colon to ensure correct rendering of definition list
    item. Without the proper number of colons, it renders as just
    another top-level paragraph rather than a list item.
Show 7 quoted lines
> diff --git a/Documentation/config/gpg.txt b/Documentation/config/gpg.txt
> @@ -34,7 +34,7 @@ gpg.minTrustLevel::
> -gpg.ssh.defaultKeyCommand:
> +gpg.ssh.defaultKeyCommand::
>         This command that will be run when user.signingkey is not set and a ssh
>         signature is requested. On successful exit a valid ssh public key is
>         expected in the first line of its output. To automatically use the first
If you want to tackle them, some other fixes would be:
* "This _is the_ command that..." or "This command will be..."
* in user-facing documentation, we use camelCase for configuration
names, so "user.signingkey" should be "user.signingKey"
* s/ssh/SSH/
* s/exit/exit,/
Previous: Greg HurrellNext: Eric Sunshine
Message 2 of 9 in “docs: add missing colon to Documentation/config/gpg.txt”
  1. docs: add missing colon to Documentation/config/gpg.txtGreg Hurrell, Dec 17, 2021
  2. Eric SunshineDec 17, 2021
  3. Eric SunshineDec 17, 2021
  4. docs: add missing colon to Documentation/config/gpg.txtGreg Hurrell, Dec 17, 2021
  5. docs: add missing colon to Documentation/config/gpg.txtGreg Hurrell, Dec 17, 2021
  6. docs: add missing colon to Documentation/config/gpg.txtGreg Hurrell, Dec 17, 2021
  7. docs: add missing colon to Documentation/config/gpg.txtGreg Hurrell, Dec 17, 2021
  8. docs: add missing colon to Documentation/config/gpg.txtGreg Hurrell, Dec 17, 2021
  9. Greg HurrellDec 17, 2021

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.