prepare for magit-format-patch