gitemailoutlookgit-patchgit-am

Using Git am when outlook is involved


I am using linux in a virtual machine but my host is windows with outlook installed. Currently when I receive emails containing git patches they pop up in my outlook.

How do I apply these patches? They are not sent as attachments, they are sent presumably through git send mail.

Can I set up my VM to recieve them in the VM mailbox? (so far no success)

Can I save the patches to a folder in a git am friendly format? so far i have been trying this angle, I thought, if I drag and drop the messages into a folder and then git am on that folder then it would work, however if i do this, outlook saves them as .msg instead of .eml and their doesnt seem to be a way to convert. I have tried save as text file but then i get either "Patch does not have a valid e-mail address" with git am or "trailing whitespace" with git apply. I am guessing that i could solve the whitespace issue by removing the windows line endings but it all seems a bit of a hack and as i am doing this as part of a commercial team i would like it to work properly.

-Thanks for any help, chris


Solution

  • The best solution I came up with comes from here:

    http://www.tldp.org/HOWTO/Outlook-to-Unix-Mailbox-2.html

    There is an alternate method on the next page, but I found this was relatively hassle free and not to painful to use on a semi-regular basis.

    Pre-requists

    Method

    Possible Improvements*