Skip to content

Instantly share code, notes, and snippets.

View Shnatsel's full-sized avatar

Sergey "Shnatsel" Davidoff Shnatsel

View GitHub Profile
@jaalto
jaalto / splitpatch.rb
Last active December 18, 2015 16:36 — forked from bcachet/splitpatch.rb
#!/usr/bin/env ruby
#
# splitpatch is a simple script to split a patch up into multiple patch files.
# if the --hunks option is provided on the command line, each hunk gets its
# own patchfile.
#
# Copyright (C) 2007 Peter Hutterer <peter@cs.unisa.edu.au>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by