Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
#
# git-svn-diff -- SVN-compatible diff against the tip of the tracking branch
#
# ChangeLog
#
# Originally by http://mojodna.net/2009/02/24/my-work-git-workflow.html
#
# <mike@mikepearce.net>
# - <unknown changes>
@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