Parse email with patches as generated by @git format-patch@
It would be nice if the Mail Handler could parse emails generated by
git format-patch. It could thus generate an issue with the description, and attach the patch to it.
I hacked the
rdm-mailhandler.rb script to try to detect and preprocess such an email. When it detects a mail formatted by Git, it creates a multipart message with the patch as an attachment which it then submits to Redmine's
MailHandler the normal way.
This is highly experimental (as my first attempt at Ruby), and the use of TMail should be replaced by Mail. Also, I think this feature would better be implemented directly in Redmine's
MailHandler rather than in