Skip to content

Instantly share code, notes, and snippets.

@marshall
Created June 8, 2012 19:04
Show Gist options
  • Save marshall/2897614 to your computer and use it in GitHub Desktop.
Save marshall/2897614 to your computer and use it in GitHub Desktop.
mozilla_profile.sh
bz_create_patch() {
rev=HEAD^
if [ "$1" != "" ]; then
rev=$1
fi
git format-patch -k --no-stat --no-signature $rev --stdout | git patch-to-hg-patch
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment