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

Re: [PATCH] doc: fix config API documentation about config_with_options

From
Junio C Hamano <gitster@pobox.com>
Date
May 12, 2018, 01:00 UTC
Message-ID
<xmqqfu2xg02z.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20180509171950.GB63423@google.com>
Brandon Williams <bmwill@google.com> writes:
Show 20 quoted lines
> On 05/09, Antonio Ospite wrote:
>> In commit dc8441fdb ("config: don't implicitly use gitdir or commondir",
>> 2017-06-14) the function git_config_with_options was renamed to
>> config_with_options to better reflect the fact that it does not access
>> the git global config or the repo config by default.
>> 
>> However Documentation/technical/api-config.txt still refers to the
>> previous name, fix that.
>> 
>> While at it also update the documentation about the extra parameters,
>> because they too changed since the initial definition.
>> 
>> Signed-off-by: Antonio Ospite <ao2@ao2.it>
>> ---
>> 
>> Patch based on the maint branch.
>
> Thanks for updating the docs.  Maybe one day we can migrate these docs
> to the source files themselves, making it easier to keep up to date.
> For now this is good :)
Thanks, both.
Previous: Brandon Williams
Message 5 of 5 in “doc: fix config API documentation about config_with_options”
  1. doc: fix config API documentation about config_with_optionsAntonio Ospite, May 9, 2018
  2. Brandon WilliamsMay 9, 2018
  3. Antonio OspiteMay 11, 2018
  4. Brandon WilliamsMay 14, 2018
  5. Junio C HamanoMay 12, 2018

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.