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

Re: customizing "cherry picked from commit abcd" comment

From
Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Date
Sep 30, 2025, 10:11 UTC
Message-ID
<aNus0ulSTb4rAYdF@ugly.lan>
In-Reply-To
<87v7l18nnt.fsf@prevas.dk>
On Mon, Sep 29, 2025 at 02:10:30PM +0200, Rasmus Villemoes wrote:
Show 5 quoted lines
>This makes it easier, when porting to v+1, to know if that commit still
>needs to be cherry-picked or is already included, and also makes it
>obvious to anyone reading the current history to know the "upstream
>status" of that commit.
>

i sometimes customize this pseudo-footer as well, but it's usually things like "(partially cherry-picked ...)" or "(... from <repo>/<sha1>)", etc.

your particular use case would imo be better addressed by implementing bi-directional linking between picked commits via a standardized git-notes namespace.

the pseudo-trailer is really just a hack in the first place, and afaict that status quo results from an ideological commitment against cherry-picks during the early history of git. but it's really kinda silly that subversion and perforce have better tracking of cherry-picks to this date, even when it's their only way to do merges.

Previous: Rasmus VillemoesNext: Junio C Hamano
Message 2 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.