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

Re: [PATCH] notes: mention --notes in more places

From
Eric Blake <eblake@redhat.com>
Date
Oct 17, 2012, 13:30 UTC
Message-ID
<507EB310.8020904@redhat.com>
In-Reply-To
<20121017055136.GA12301@sigill.intra.peff.net>
On 10/16/2012 11:51 PM, Jeff King wrote:
Show 9 quoted lines
> It may also make sense to show notes differently when outputting the
> "email" format as format-patch does. E.g., using a triple-dash would
> keep them separate from the commit message when using "git am". Like:
> 
>   your commit message
> 
>   Signed-off-by: You
>   ---
>   your notes go here

That's _precisely_ what I want! I want to use notes as a way of tracking my edits for what I did in v2 of a patch, at the time I commit my v2, so that I can send a revised series including the notes in a manner most efficient for someone else using 'git am' on the series to see why I sent a v2 but without polluting the upstream repository with useless versioning information from the email.

> 
> We've talked about it several times, but it's never happened (probably
> because most people don't actually use notes).

And people (like me) don't use notes because they aren't documented. Catch-22, so we have to start somewhere.

I'll submit a v2 with the non-controversial edits, and spend some time trying to figure out how to isolate the portion of pretty-options.txt that is relevant to format-patch. If it's easy enough, I can also consider using --- instead of Notes: as the separator when using format-patch.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
Previous: Junio C HamanoNext: Jeff King
Message 5 of 8 in “notes: mention --notes in more places”
  1. notes: mention --notes in more placesEric Blake, Oct 17, 2012
  2. Junio C HamanoOct 17, 2012
  3. Jeff KingOct 17, 2012
  4. Junio C HamanoOct 17, 2012
  5. Eric BlakeOct 17, 2012
  6. Jeff KingOct 17, 2012
  7. Junio C HamanoOct 17, 2012
  8. Michael J GruberOct 18, 2012

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.