def export_patchset(start, end, output='patches', **kwargs): """Export patches from start^ to end.""" return git.format_patch('-o', output, start + '^..' + end, with_stderr=True, with_status=True, **kwargs)
def export_patchset(start, end, output="patches", **kwargs): """Export patches from start^ to end.""" return git.format_patch("-o", output, start + "^.." + end, **kwargs)