Skip to content

Instantly share code, notes, and snippets.

Nicholas MacInnis nmacinnis

Block or report user

Report or block nmacinnis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am nmacinnis on github.
  • I am nmacinnis (https://keybase.io/nmacinnis) on keybase.
  • I have a public key ASDqcBhEfbS6RwpOTDHghVKNa7I-gxc22VgHeb_sedMnhAo

To claim this, I am signing this object:

@nmacinnis
nmacinnis / git-svn-diff.sh
Created Nov 23, 2011 — forked from mojodna/git-svn-diff.sh
Windows and TortoiseSVN-friendly modifications
View git-svn-diff.sh
#!/bin/bash
#
# git-svn-diff originally by (http://mojodna.net/2009/02/24/my-work-git-workflow.html)
# modified by mike@mikepearce.net
# modified by aconway@[redacted] - handle diffs that introduce new files
#
# Generate an SVN-compatible diff against the tip of the tracking branch
# Get the tracking branch (if we're on a branch)
TRACKING_BRANCH=`git svn info | grep URL | sed -e 's/.*\/branches\///'`
You can’t perform that action at this time.