3 ms·
Seems to be a Google-ism. I haven't worked there, but all the ex-Googlers I've worked with do this. It also makes it easy to grep for all your TODOs in a tree
by minimax 15y ago
Seems to be a Google-ism. I haven't worked there, but all the ex-Googlers I've worked with do this. It also makes it easy to grep for all your TODOs in a tree, something you can't do with cvs/svn/git annotate.
- Aissen 15y ago> something you can't do with cvs/svn/git annotate. Challenge accepted: for i in $(git grep -l TODO); do git blame -f $i |grep TODO |grep "$NAME"; done Granted, it can be long on a big codebase, but does the trick.