git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-applymbox fails to extract patch.
@ 2006-03-10  5:04 Dave Jones
  2006-03-10  5:35 ` Linus Torvalds
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Jones @ 2006-03-10  5:04 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git-applymbox fails to extract patch.
  2006-03-10  5:04 git-applymbox fails to extract patch Dave Jones
@ 2006-03-10  5:35 ` Linus Torvalds
  2006-03-10  5:47   ` Dave Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Torvalds @ 2006-03-10  5:35 UTC (permalink / raw)
  To: Dave Jones; +Cc: git



On Fri, 10 Mar 2006, Dave Jones wrote:
> 
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git-applymbox fails to extract patch.
  2006-03-10  5:35 ` Linus Torvalds
@ 2006-03-10  5:47   ` Dave Jones
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Jones @ 2006-03-10  5:47 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: git

On Thu, Mar 09, 2006 at 09:35:11PM -0800, Linus Torvalds wrote:
 > 
 > 
 > On Fri, 10 Mar 2006, Dave Jones wrote:
 > > 
 > > 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
-- 
http://www.codemonkey.org.uk

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-10  5:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-10  5:04 git-applymbox fails to extract patch Dave Jones
2006-03-10  5:35 ` Linus Torvalds
2006-03-10  5:47   ` Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).