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

Re: [PATCH] doc: consolidate extensions in git-config documentation

From
Caleb White <cdwhite3@pm.me>
Date
Oct 22, 2024, 17:33 UTC
Message-ID
<D52IK8WN7D0S.2SGBXWAEE2CBZ@pm.me>
In-Reply-To
<ZxfdJs5+YbpHgpdv@nand.local>
On Tue Oct 22, 2024 at 12:13 PM CDT, Taylor Blau wrote:
Show 13 quoted lines
> On Tue, Oct 22, 2024 at 12:08:49AM +0000, Caleb White wrote:
>> -Note that this setting should only be set by linkgit:git-init[1] or
>> -linkgit:git-clone[1].  Trying to change it after initialization will not
>> -work and will produce hard-to-diagnose issues.
>> -
>> -extensions.compatObjectFormat::
>> -
>> +--
>> +compatObjectFormat::
>
> Should this be `extensions.compatObjectFormat` instead of
> `compatObjectFormat`? I think the latter will produce awkward headings
> when these all get merged into git-config(1).

No, I built the man pages and visually inspected the changes to ensure they were formatted correctly. This is modeled after the `advice.*` config section which has the sub-sections listed as an indented block under the main `advice` section. It looks like the following:

    extensions.*
        <description>
        compatObjectFormat
            <description>
        <next extension>

One thing we might could do is bold the sub-sections, but the `advice.*` section doesn't do that so I didn't do it here.

> Otherwise, looking good. Thanks for working on this!
Sure thing!
Best,
Previous: Taylor Blau
Message 3 of 3 in “doc: consolidate extensions in git-config documentation”
  1. doc: consolidate extensions in git-config documentationCaleb White, Oct 22, 2024
  2. Taylor BlauOct 22, 2024
  3. Caleb WhiteOct 22, 2024

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.