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

Re: [PATCH] doc: point to diff attribute in patch format docs

From
POPeter Oliver <p.d.oliver@mavit.org.uk>
Date
Apr 27, 2021, 10:37 UTC
Message-ID
<aa421f19-2ac5-570-61a0-100fa526423@froglet.home.mavit.org.uk>
In-Reply-To
<xmqqh7jsdvlb.fsf@gitster.g>
On Tue, 27 Apr 2021, Junio C Hamano wrote:
Show 11 quoted lines
> "Peter Oliver via GitGitGadget" <gitgitgadget@gmail.com> writes:
>
>> +5.  Hunk headers mention the name of the function to which the hunk
>> +    applies.  See linkgit:gitattributes[5] for details of how to tailor
>> +    to this to specific languages.
>
> Shouldn't this part be as helpful as the change you made to the
> earlier part by mentioning that the user wants to look at a specific
> part of the document, instead of reading the entire gitattributes(5)
> manpage?  Perhaps "Defining a custom hunk header" section is what
> they want to refer to.
Thanks, good suggestion.
-- 
Peter Oliver
Previous: Junio C HamanoNext: Peter Oliver via GitGitGadget
Message 3 of 4 in “doc: point to diff attribute in patch format docs”
  1. doc: point to diff attribute in patch format docsPeter Oliver via GitGitGadget, Apr 26, 2021
  2. Junio C HamanoApr 27, 2021
  3. Peter OliverApr 27, 2021
  4. doc: point to diff attribute in patch format docsPeter Oliver via GitGitGadget, Apr 27, 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.