logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

splitdiff - separate out incremental patches

Author

TimWaugh <twaugh@redhat.com>
           Package maintainer

patchutils                                         4 Nov 2014                                       SPLITDIFF(1)

Description

       If you have a patch file composed of several incremental patches, you can use splitdiff to separate them
       out. You may want to do this in preparation for re-combining them with combinediff(1).

       The effect of running splitdiff is to separate its input into a set of output files, with no output file
       patching the same file more than once.

Name

       splitdiff - separate out incremental patches

Options

-a
           Split out every single file-level patch.

       -d
           Create file names such as a_b.c.patch for a patch that modifies a/b.c.

       -Ddir
           Write output files into subdirectory dir. Implies -d.

       -pn
           Strip the first n components of the pathname to aid comparisons.

       -E
           Don't use .patch filename extension when writing output files.

       --help
           Display a short usage message.

       --version
           Display the version number of splitdiff.

See Also

combinediff(1), lsdiff(1)

Synopsis

splitdiff [-a] [-d] [-D dir] [-p n] [-E] [file]

       splitdiff {[--help] | [--version]}

See Also