def export_patchset(start, end, output=u'patches', **kwargs):
 return git.format_patch(u'-o', output, ((start + u'^..') + end), **kwargs)

def export_patchset ( start , end , output = u'patches' , ** kwargs ) : return git . format_patch ( u'-o' , output , ( ( start + u'^..' ) + end ) , ** kwargs )
export patches from start^ to end .