git am ~/Documents/mail-[1-9]-11.txt Patch format detection failed.

4 messages, 3 authors, 2016-06-15 · open the first message on its own page

git am ~/Documents/mail-[1-9]-11.txt Patch format detection failed.

From: Jim Cromie <jim.cromie@gmail.com>
Date: 2016-06-15 22:51:48

git am is giving me trouble.

Im a gmail user, and have saved a patch series by doing
show-original, save w rename for each patch

git apply mail-1-11.txt works,
but it disregards the commit-msg, so commit-ids are lost,
(I could attempt to checkin each with cut-paste commit-msgs,
but this sounds like a losing game)
and patchset isnt trackable as such.

grabbing diffs from lkml.org site doesnt help,
since theyre raw diffs, theyre lacking the commit-msg.

have I missed an option, or is am's format detection less than it should be ?

Ive attached mail-1-11, which applies cleanly to v3.0, but wont am.

Re: git am ~/Documents/mail-[1-9]-11.txt Patch format detection failed.

From: David Aguilar <hidden>
Date: 2016-06-15 22:51:48

On Sat, Aug 13, 2011 at 01:49:35PM -0600, Jim Cromie wrote:
git am is giving me trouble.

Im a gmail user, and have saved a patch series by doing
show-original, save w rename for each patch
[snip]
My experience with gmail + patches is that you need to use an
email client to download patches, not the web interface.

mutt works well for me.  Any client that can talk to gmail
over imaps:// should do the trick.

I couldn't find what was wrong with the patch you
attached to your original message, though.
-- 
					David

Re: git am ~/Documents/mail-[1-9]-11.txt Patch format detection failed.

From: Ramkumar Ramachandra <hidden>
Date: 2016-06-15 22:51:48

Hi Jim,

[+CC: David Barr]

Jim Cromie writes:
git am is giving me trouble.

Im a gmail user, and have saved a patch series by doing
show-original, save w rename for each patch
[...]
Ive attached mail-1-11, which applies cleanly to v3.0, but wont am.
It works quite well for me after David's recent patch: 0e8341f2 (am:
ignore leading whitespace before patch, 2011-08-08).  The patch has
already made it to 'next', but hasn't hit 'master' yet.  Could you
please try it and tell us if there are any issues?

Thanks.

-- Ram

Re: git am ~/Documents/mail-[1-9]-11.txt Patch format detection failed.

From: Jim Cromie <jim.cromie@gmail.com>
Date: 2016-06-15 22:51:48

On Sat, Aug 13, 2011 at 9:06 PM, Ramkumar Ramachandra
[off-list ref] wrote:
Hi Jim,

[+CC: David Barr]

Jim Cromie writes:
quoted
git am is giving me trouble.

Im a gmail user, and have saved a patch series by doing
show-original, save w rename for each patch
[...]
Ive attached mail-1-11, which applies cleanly to v3.0, but wont am.
It works quite well for me after David's recent patch: 0e8341f2 (am:
ignore leading whitespace before patch, 2011-08-08).  The patch has
already made it to 'next', but hasn't hit 'master' yet.  Could you
please try it and tell us if there are any issues?

Thanks.

-- Ram
thanks Ram,

I just pulled and built next branch, it worked for me.

[jimc@groucho linux-2.6]$ ../../git/git am ~/Documents/mail-[1-9]-11.txt
Applying: dynamic_debug: Add __dynamic_dev_dbg
Applying: dynamic_debug: Consolidate prefix output to single routine
Applying: dynamic_debug: Remove uses of KERN_CONT in dynamic_emit_prefix
Applying: dynamic_debug: Convert printks to pr_<level>
Applying: dynamic_debug: remove unused control variables
...

thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help