reformat patches so they apply using 'git am'