示例#1
0
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)
示例#2
0
def export_patchset(start, end, output="patches", **kwargs):
    """Export patches from start^ to end."""
    return git.format_patch("-o", output, start + "^.." + end, **kwargs)
示例#3
0
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)