Created
March 24, 2014 19:03
-
-
Save mikebridge/9746838 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# find who added C# Tests in Test Directories, ordered by date | |
git ls-tree --name-only -z -r HEAD| egrep -i -z -Z -E '(Tests\..*\.*cs)$' | xargs -0 -n1 git blame --show-name -w | grep "\[Test" | grep -v TestFixture | perl -pe 's/^[^\(]+\((\w+\s*\w*)\s+(\d{4}-\d{2}-\d{2}).*/$2 $1/' | sort -n | |
# find who added JS Specs, ordered by date | |
git ls-tree --name-only -z -r HEAD| egrep -i -z -Z -E '(\.spec\.js)$' | xargs -0 -n1 git blame --show-name -w | grep "it\(" | perl -pe 's/^[^\(]+\((\w+\s*\w*)\s+(\d{4}-\d{2}-\d{2}).*/$2 $1/' | sort -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment