Skip to content

Instantly share code, notes, and snippets.


Hans Schoenburg hschoenburg

View GitHub Profile
indygreg /
Created Jun 17, 2012
Find oldest lines in git repository
# This script parses Git blame's "porcelain" output format and
# ascertains the oldest lines of code seen.
# If you want to perform a custom report, just define your own callback
# function and invoke parse_porcelain() with it.
# The expected input format is slightly modified from raw `git blame
# -p`. Here is an example script for producing input:
You can’t perform that action at this time.