Re: [StGit PATCH] Tutorial: Importing patches
- From
Karl Hasselström <kha@treskal.com>
- Date
- Oct 29, 2008, 10:28 UTC
- Message-ID
- <20081029102814.GA30762@diana.vm.bytemark.co.uk>
- In-Reply-To
- <b0943d9e0810281509r109ee2dby51ee13a250700012@mail.gmail.com>
On 2008-10-28 22:09:52 +0000, Catalin Marinas wrote:
> 2008/10/28 Karl Hasselström <kha@treskal.com>:
Show 9 quoted lines
> > +The e-mail should be in standard Git mail format (which is what e.g. > > +stglink:mail[] produces) -- that is, with the patch in-line in the > > +mail, not attached. The authorship info is taken from the mail > > +headers, and the commit message is read from the 'Subject:' line and > > +the mail body. > > It actually supports importing diffs from attachments as well as > long as they are text/plain (the description is expected in the mail > body).
Yeah, I had a vague recollection that that might be the case, but the test suite doesn't cover it, and I've actually tried it a few times and it's never worked for me.
> Anyway, I think we don't have to mention this in the tutorial as > most people would use the Git mail format anyway.
Yes.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle