SPLITDIFF(1)

πŸ“¦
version 0.4.5 Β· 2 versions
  • 0.4.5 Β· alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.3.3 Β· nixos 26.05, nixpkgs unstable
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– SPLITDIFF(1) πŸ’–

okay bestie, so splitdiff is a little tool from the patchutils fam, and it's literally the manual page for it. buckle up, it's cute and it's useful πŸŽ€


✨ NAME ✨

splitdiff β€” separate out incremental patches πŸ¦‹


🌸 SYNOPSIS 🌸

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

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

πŸ‘‘ DESCRIPTION πŸ‘‘

so picture this: you've got a patch file that's actually several incremental patches all mushed together 😭 and you want them apart. that's exactly what splitdiff is for. you might wanna do this so you can re-combine them later with combinediff(1) β€” it's giving prep work, it's giving glow-up, it's giving organization πŸ’…

the effect of running splitdiff is that it separates its input into a set of output files, and no output file patches the same file more than once. periodt.


πŸŽ€ OPTIONS πŸŽ€

  • -a β€” split out every single file-level patch. all of them. no skips. πŸ’―
  • -d β€” create file names like a_b.c.patch for a patch that modifies a/b.c. slashes become underscores, iconic ✨
  • -D dir β€” write the output files into the subdirectory dir. lowkey important: this implies -d, so you get the cute file names automatically 🫢
  • -p n β€” strip the first n components of the pathname, which helps with comparisons πŸ”
  • -E β€” don't use the .patch filename extension when writing output files. sometimes you just don't want the extension, and that's valid πŸ“
  • --help β€” display a short usage message. a lil snack of info 🧚
  • --version β€” display the version number of splitdiff 🌈

🌟 SEE ALSO 🌟

go look at those too, iykyk πŸ’œ


πŸ’– AUTHOR πŸ’–

Tim Waugh <twaugh@redhat.com>

  • Package maintainer πŸ‘‘

this page is from patchutils, dated 4 Nov 2014. slay, thanks for reading bestie, mwah πŸ’…πŸ’–