Re: [PATCH] Make git-mailinfo strip whitespace from the start of the mail file.
- From
- Simon Sasburg <simon.sasburg@gmail.com>
- Date
- Nov 1, 2007, 21:41 UTC
- Message-ID
- <981e6de60711011441n5bef772cuda381c539c0a2603@mail.gmail.com>
- In-Reply-To
- <7vd4utabx0.fsf@gitster.siamese.dyndns.org>
> Just to help me understand why this change is needed... > > Are you using mailinfo directly without splitting with mailsplit > first?
Well, when using gmail's web interface, when reading a mail, there is this option to show the raw mail text (headers+body) with the 'show original' option.
If you do 'save as..' in your browser to save what you get with that, and try to do git-am on that file, it fails because it starts with some whitespace.
With this patch git-am works on these files.
So, i'm not using mailsplit or any other mail tools at all, just my browser and git.