Odd git am behavior rewriting subject, adding "ASoC: " prefix
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
--------------------------
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?
Quoted 23 lines · Joe Perches
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 neateningUse a more common logging style.
o Convert DEBUG macros to
pr_debug
o Addpr_fmt
o Remove embedded function names frompr_debug
o Convert printks to pr_<level>
o Coalesce formats and align arguments
o Add missing terminating newlinesSigned-off-by Joe Perches <[email protected]>
Quoted 10 lines
--------------------------
Apply? [y]es/[n]o/[e]dit/[v]iew patch/[a]ccept allchoosing "Y" emits:
Applying: ASoC: staging: ft1000: Logging message neatening
ASoC:? where does that come from?
Looks like you have an apply-patch-msg hook installed. What does the output of 'ls -l .git/hooks' look like.
Quoted 2 lines · Chris Packham
Quoted 1 line · Joe Perches
I have a patch file created by git format-patch.
[]
Quoted 1 line
Quoted 1 line
ASoC:? where does that come from?
[]
Quoted 2 lines
Looks like you have an apply-patch-msg hook installed. What does the output of 'ls -l .git/hooks' look like.
Correct. I didn't look there. Thanks.