splitdiff(1)

splitdiff1

Separate out incremental patches

Usage

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

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

Overview

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.

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.

-D dir

Write output files into subdirectory dir. Implies -d.

-p n

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.

Releases

13 releases since Debian 3.0 (Woody); the text changed 6 times.

  1. 3.0
  2. 3.1–5.0
  3. 6.0
  4. 7
  5. 8
  6. 9–10
  7. 11–Arch

-D since Debian 9 (Stretch); -E since Debian 8 (Jessie); -a since Debian 3.1 (Sarge); -d since Debian 3.1 (Sarge).

Author

Tim Waugh <[email protected]>

Package maintainer

From patchutils 0.4.5-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.