FLIPDIFF(1)

NAME
flipdiff - exchange the order of two incremental patches

SYNOPSIS
flipdiff [-U n] [-Bbiqwz] [--in-place] diff1 diff2
flipdiff {--help | --version}

DESCRIPTION

flipdiff exchanges the order of two patch files that apply one after the other. The patches must be ``clean'': the context lines must match and there should be no mis-matched offsets.

The swapped patches are sent to standard output, with a marker line (``=== 8< === cut here === 8< ==='') between them, unless the --in-place option is passed. In that case, the output is written back to the original input files.

OPTIONS

--help
    Display a short usage message.

--version
    Display the version number of flipdiff.

--in-place
    Write output to the original input files.

LIMITATIONS

This is only been very lightly tested, and may not even work. Using --in-place is not recommended at the moment.

AUTHOR
Tim Waugh <twaugh@redhat.com>.