Hello Liming,

I see what you mean. With Microsoft Outlook File->Save as->Save as Txt,
a tab is added after from:, sent:, to:, and subject:. Worse yet, the
lines are wrapped to 78 or so columns. The only solution I have found
is to avoid File->SaveAs altogether and instead use:

    <Ctrl-A> Select All
    <Ctrl-C> Copy

... then paste the patch into a text editor and save it that way.
It is truly frightening to see how many data corruption methods
Microsoft has invented.

Thanks,
Scott


-----Original Message-----
From: Gao, Liming [mailto:liming....@intel.com] 
Sent: Friday, November 06, 2015 01:46 AM
To: Scott Duplichan <sc...@notabs.org>; 'Daryl McDaniel' 
<edk2-li...@mc2research.org>
Cc: edk2-de...@ml01.01.org
Subject: RE: [edk2] [Patch 0/4] AppPkg/Python: Port Python 2.7.10 to EDK II

Scott:
  When I get the mail in outlook, how I save this mail as Git patch? 

  I try saving the mail by File->Save as->Save as Txt. I find the saved txt 
file includes Tab in header and the wrapped line. It can't be applied as the 
git patch. 

Thanks
Liming
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Scott 
Duplichan
Sent: Friday, November 06, 2015 10:35 AM
To: 'Daryl McDaniel'
Cc: edk2-de...@ml01.01.org
Subject: Re: [edk2] [Patch 0/4] AppPkg/Python: Port Python 2.7.10 to EDK II

Jordan Justen [mailto:jordan.l.jus...@intel.com] wrote:

]Sent: Thursday, November 05, 2015 07:35 PM
]To: Daryl McDaniel <edk2-li...@mc2research.org>; edk2-de...@ml01.01.org; Jaben 
Carsey (Intel) ]<jaben.car...@intel.com>; Erik Bjorge (Intel) 
<erik.c.bjo...@intel.com>
]Subject: Re: [edk2] [Patch 0/4] AppPkg/Python: Port Python 2.7.10 to EDK II
]
]Have you considered using git?
]
]For one, EDK II is moving to git.
]
]It would have enabled you to easily generate and send the patch files
]for your patch series. (I am guessing you spend considerable time
]generating these emails, and yet, I don't think they are usable to
]actually apply to a tree.)
]
]I think Outlook may have munged some of the lines in your file. Some
]of the lines seem to have been wrapped.

Correct. Daryl is using Outlook 2013, same as me. Here is a partial
solution: In File, Options, Mail, Message Format...
    Automatically wrap text at character [Set to maximum (132)]
    Remove extra line breaks in plain text messages [Uncheck]
Then be sure to select FORMAT TEXT, Plain Text for messages to the
list. When typing text, put in line breaks manually.

Amazing Microsoft doesn't allow disabling line wrapping altogether.
If I remember correctly, Outlook 2007 is better. Next time I rebuild
my drive, I am switching back to Outlook 2007.

So anyway, this is not a rock solid solution. But EDK2 code doesn't
have lines long enough to make the patch fail from wrapping to 132
columns.

Here is a test line of length 131:
0        0         0         0         0         0         0         0         
0         0         1         1         1         1
0        1         2         3         4         5         6         7         
8         9         0         1         2         3
12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901

Thanks,
Scott


]You also could easily post a branch of your patches (for example, on
]github).
]
]Also, git send-email nicely uses the In-Reply-To email header to
]thread all the patches of your series together.
]
]-Jordan
]
<...>


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to