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

Re: [PATCH 1/1] doc/diff-options: fix link to generating patch section

From
Sergey Organov <sorganov@gmail.com>
Date
Sep 6, 2023, 06:40 UTC
Message-ID
<87zg1zpzxv.fsf@osv.gnss.ru>
In-Reply-To
<xmqq34zsqlr3.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
Show 10 quoted lines
> Sergey Organov <sorganov@gmail.com> writes:
>
>> First, there is no need for conditional referencing, as all the files
>> that include "diff-options.txt" eventually include
>> "diff-generate-patch.txt" as well.
>
> Except for git-format-patch.txt which includes the former but not
> the latter.  But this is inside ifndef::git-format-patch[], so the
> above description being a bit imprecise does not cause any actual
> damage.
Ah, nice catch!
Show 5 quoted lines
>
>     Documentation for all commands that want to describe the `-p`
>     option by including the "diff-options.txt" file also include the
>     "diff-generate-patch.txt" file, so an internal link would work
>     for all of them.

Sounds fine. Would you re-phrase it yourself, or should I rather re-roll?

Thanks, -- Sergey Organov

Previous: Junio C HamanoNext: Sergey Organov
Message 3 of 6 in “doc/diff-options: fix link to generating patch section”
  1. 1/1 doc/diff-options: fix link to generating patch sectionSergey Organov, Sep 5, 2023
  2. Junio C HamanoSep 5, 2023
  3. Sergey OrganovSep 6, 2023
  4. Sergey OrganovSep 6, 2023
  5. Junio C HamanoSep 6, 2023
  6. 1/1 doc/diff-options: fix link to generating patch sectionSergey Organov, Sep 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.