git-applymbox fails to extract patch.
Since my munged versions of Linus' original apply-mbox scripts no longer work on current git, I figured I'd try and use the ones provided with it.
I'm totally confused as to what's going on here.
Here's what I'm trying to apply..
http://userweb.kernel.org/~davej/mbox.txt
And here's what happens..
(04:59:42:davej@hera:cpufreq)$ git-applymbox -k ~/Mail/mbox 1 patch(es) to process.
Applying ''
fatal: No changes
What am I missing ?
Dave
Quoted 2 lines · Dave Jones
What am I missing ?
Do you have "Content-Type:" headers with a multi-part boundary? That can cause it.
Also, empty X-IMAP messages at the beginning of a mbox (pine does those, others probably do too) will cause things like that. The extra "email" will have no patch in it..
Linus
Quoted 8 lines · Linus Torvalds
Quoted 2 lines · Dave Jones
What am I missing ?
Do you have "Content-Type:" headers with a multi-part boundary? That can cause it.
ahhh.
I was sent a MIME mail, and saved the attachment, then deleted the junk from the body, and inlined it.
Never crossed my mind to check the headers. That'll be it.
Now I remember why I hate hand-munging mails.
*snip snip*
$ git-applymbox -k ~/Mail/mbox 1 patch(es) to process.
Applying '[CPUFREQ] Fix the p4-clockmod N60 errata workaround.'
Wrote tree 6d7d2dfd2309675446f727a6b4b2a6ff475835fb
Committed: 6d373ea012b2974e627b9ee830e75cf3bf3c4c24
Sweet. I'm happy again.
Thanks,
Dave
Signature · 1 line
http://www.codemonkey.org.uk