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

Re: customizing "cherry picked from commit abcd" comment

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Sep 30, 2025, 15:17 UTC
Message-ID
<aNv0glRxXcviP5yH@fruit.crustytoothpaste.net>
In-Reply-To
<87v7l18nnt.fsf@prevas.dk>
On 2025-09-29 at 12:10:30, Rasmus Villemoes wrote:
> Is this something that others could find useful, or is it too niche? If
> the former, I'll try to cook up a patch, but I'd also like some input on
> what the semantics should be, or if there's some other idea for
> achieving the same thing without a custom callback.

I haven't looked, but I wonder if maybe you can use one of the commit message hooks for this. If you're creating that cherry pick, then you might be able to automatically edit the message accordingly using some sort of script.

-- 
brian m. carlson (they/them)
Toronto, Ontario, CA
Previous: Oswald Buddenhagen
Message 7 of 7 in “customizing "cherry picked from commit abcd" comment”
  1. Rasmus VillemoesSep 29, 2025
  2. Oswald BuddenhagenSep 30, 2025
  3. Junio C HamanoSep 30, 2025
  4. Oswald BuddenhagenOct 1, 2025
  5. Junio C HamanoOct 2, 2025
  6. Oswald BuddenhagenOct 3, 2025
  7. brian m. carlsonSep 30, 2025

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.