Achim Gratz <strom...@nexgo.de> writes: > Bastien writes: >> Indeed. I cannot apply the patch, git am returns "patch format >> detection faild." Can you resubmit it using git format-patch? > > You want to use 'git apply' on that patch, 'git am' is for applying > patches produced by 'git format-patch' only.
Well, I'm trying to encourage people to submit patches that I can apply easily with git am without having to edit the patch or to use git commit --author=""... to credit the patch correctly. > In a pinch however, you > can relatively easily convert the patch format from 'git show to > something suitable for 'git am': > > Replace "commit" with "From", Replace "Author" with "From" and replace > the whitespace at the beginning of the first line of the commit message > with "Subject: [PATCH] ". Good to know, thank you. -- Bastien