Created
October 27, 2014 10:48
-
-
Save nulpunkt/92bc464d86a54622e223 to your computer and use it in GitHub Desktop.
Revisions
-
nulpunkt created this gist
Oct 27, 2014 .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,7 @@ git grep -n -w "FIXME\|TODO\|XXX" | awk '{ print $1 }' | while read fileline; do filename=`echo $fileline | cut -d: -f1` lineno=`echo $fileline | cut -d: -f2` time=`git blame -p -t $filename -L$lineno,$lineno | grep author-time | cut -d' ' -f2` msg=`git blame $filename -L$lineno,$lineno` echo "$time $fileline $msg" done | sort | cut -d' ' -f1-