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

Assisted-by tag

From
MSMarius Spix <marius.spix@web.de>
Date
Jun 16, 2026, 19:25 UTC
Message-ID
<20260616212553.31ddea83@rockhopper>
Hi there,

as the Linux kernel requires the new Assisted-by tag for AI-assisted commits, I was researching how git handles such tags. Thereby I observed the following behaviour:

git commit --signoff
* adds an empty line before the Signed-off-by tag
* ignores the Signed-off-by tag by checking for an empty commit message
git commit --trailer "\nAssisted-by: OpenAI"
* does not add an empty line (the "\n" is not converted to a newline)
* does not ignore the tag by checking for empty commit message

Since there will be more and more AI-assisted commits in projects like the Linux kernel in the future, this should be taken in account.

When merging or squashing commits, that tag should also be automatically applied to the new commit message to make it clear that the commit is tainted by AI.

Your opinion?
Best regards
Marius
Next: Kristoffer Haugsbakk
Message 1 of 2 in “Assisted-by tag”
  1. Marius SpixJun 16, 2026
  2. Kristoffer HaugsbakkJun 16, 2026

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.