Skip to content

Instantly share code, notes, and snippets.

Avatar

Hans Schoenburg hschoenburg

View GitHub Profile
@indygreg
indygreg / find_old_lines.pl
Created Jun 17, 2012
Find oldest lines in git repository
View find_old_lines.pl
#!/usr/bin/perl
# 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.