{"thread":{"id":"3616","subject":"git-applymbox fails to extract patch.","startedAt":"2006-03-10T05:04:46Z","lastAt":"2006-03-10T05:47:01Z","messageCount":3,"participants":["Dave Jones","Linus Torvalds"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"17411","messageId":"20060310050446.GA20764@redhat.com","threadId":"3616","inReplyTo":null,"subject":"git-applymbox fails to extract patch.","fromName":"Dave Jones","fromEmail":"davej@redhat.com","sentAt":"2006-03-10T05:04:46Z","receivedAt":"2006-03-10T05:04:46Z","isPatch":false,"sender":{"key":"davej@redhat.com","avatar":null},"body":"Since my munged versions of Linus' original apply-mbox scripts\nno longer work on current git, I figured I'd try and use the\nones provided with it.\n\nI'm totally confused as to what's going on here.\n\nHere's what I'm trying to apply..\nhttp://userweb.kernel.org/~davej/mbox.txt\n\nAnd here's what happens..\n\n(04:59:42:davej@hera:cpufreq)$ git-applymbox -k ~/Mail/mbox\n1 patch(es) to process.\n\nApplying ''\n\nfatal: No changes\n\n\nWhat am I missing ?\n\n\t\tDave\n"},{"id":"17414","messageId":"Pine.LNX.4.64.0603092130030.18022@g5.osdl.org","threadId":"3616","inReplyTo":"20060310050446.GA20764@redhat.com","subject":"Re: git-applymbox fails to extract patch.","fromName":"Linus Torvalds","fromEmail":"torvalds@osdl.org","sentAt":"2006-03-10T05:35:11Z","receivedAt":"2006-03-10T05:35:11Z","isPatch":false,"sender":{"key":"torvalds@linux-foundation.org","avatar":"https://avatars.githubusercontent.com/u/1024025?v=4"},"body":"\n\nOn Fri, 10 Mar 2006, Dave Jones wrote:\n> \n> What am I missing ?\n\nDo you have \"Content-Type:\" headers with a multi-part boundary? That can \ncause it.\n\nAlso, empty X-IMAP messages at the beginning of a mbox (pine does those, \nothers probably do too) will cause things like that. The extra \"email\" \nwill have no patch in it..\n\n\t\tLinus\n"},{"id":"17415","messageId":"20060310054701.GA27114@redhat.com","threadId":"3616","inReplyTo":"Pine.LNX.4.64.0603092130030.18022@g5.osdl.org","subject":"Re: git-applymbox fails to extract patch.","fromName":"Dave Jones","fromEmail":"davej@redhat.com","sentAt":"2006-03-10T05:47:01Z","receivedAt":"2006-03-10T05:47:01Z","isPatch":false,"sender":{"key":"davej@redhat.com","avatar":null},"body":"On Thu, Mar 09, 2006 at 09:35:11PM -0800, Linus Torvalds wrote:\n > \n > \n > On Fri, 10 Mar 2006, Dave Jones wrote:\n > > \n > > What am I missing ?\n > \n > Do you have \"Content-Type:\" headers with a multi-part boundary? That can \n > cause it.\n\nahhh.\nI was sent a MIME mail, and saved the attachment, then deleted\nthe junk from the body, and inlined it.\nNever crossed my mind to check the headers.  That'll be it.\n\nNow I remember why I hate hand-munging mails.\n\n\n*snip snip*\n\n\n$ git-applymbox -k ~/Mail/mbox\n1 patch(es) to process.\n\nApplying '[CPUFREQ] Fix the p4-clockmod N60 errata workaround.'\n\nWrote tree 6d7d2dfd2309675446f727a6b4b2a6ff475835fb\nCommitted: 6d373ea012b2974e627b9ee830e75cf3bf3c4c24\n\nSweet. I'm happy again.\n\nThanks,\n\n\t\tDave\n-- \nhttp://www.codemonkey.org.uk\n"}]}