Skip to content

Instantly share code, notes, and snippets.

View GordonGustafson's full-sized avatar
🎉

Gordon Gustafson GordonGustafson

🎉
  • Motional
View GitHub Profile
#!/usr/bin/env python
"""
ignore_moves.py v0.2
Filter relocated lines from a unified diff format stream.
Offered under the terms of the MIT License at github.com
Taken from http://stackoverflow.com/questions/1380333/
"""
import sys
from optparse import OptionParser