Last Updated: March 14, 2016
·
204
· patrickmclaren

Find your TODOs in git

Don't forget to replace Patrick with a pattern for your git author

grep -ri -n todo\: components | sed 's/\(.*\?\)\:\([0-9]\+\?\)\:.*/-L\ \2,\2\ \1/' | xargs -n3 git --no-pager blame | sed -n '/Patrick/s/ \+/ /gp'