Created
January 5, 2018 04:27
-
-
Save gvd/d38e38d09f8838d5a9f9418305277f90 to your computer and use it in GitHub Desktop.
Revisions
-
gvd created this gist
Jan 5, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ git log --numstat --author="John Doe" --format=tformat: directory | grep ".*\.cpp$\|.*\.h$\|.*\.py$" | awk '{added += $1; removed += $2}END{printf "Added:\t\t%s\nRemoved:\t%s\nDelta:\t\t%s\nRatio:\t\t%s\n", added, removed, (added-removed), (added/removed) }' -