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

Odd git am behavior rewriting subject, adding "ASoC: " prefix

From
Joe Perches <joe@perches.com>
Date
Nov 5, 2014, 01:12 UTC
Message-ID
<1415149921.6634.1.camel@perches.com>
I have a patch file created by git format-patch.

Applying it via git am changes the subject prefix. Anyone know why?

$ git --version git version 2.1.2

$ git am -i 0002-staging-ft1000-Logging-message-neatening.patch Commit Body is: -------------------------- staging: ft1000: Logging message neatening

Use a more common logging style.

o Convert DEBUG macros to pr_debug o Add pr_fmt o Remove embedded function names from pr_debug o Convert printks to pr_<level> o Coalesce formats and align arguments o Add missing terminating newlines

Signed-off-by: Joe Perches <joe@perches.com>
--------------------------
Apply? [y]es/[n]o/[e]dit/[v]iew patch/[a]ccept all 
choosing "Y" emits:
Applying: ASoC: staging: ft1000: Logging message neatening
ASoC:? where does that come from?
Next: Chris Packham
Message 1 of 3 in “Odd git am behavior rewriting subject, adding "ASoC: " prefix”
  1. Joe PerchesNov 5, 2014
  2. Chris PackhamNov 5, 2014
  3. Joe PerchesNov 5, 2014

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.