News for hackers. Stuff that matters.
Re:Plotting the source code “TODO” history of the most popul... by schleiss on Monday May 17, 2021 @04:38AM (#27181270)
OP here. I used `git log -G TODO --reverse -p -- . > ~/Desktop/test.txt` and used the results in PHP to aggregate the data as I couldn't think of the bash one liners in the other comments :(
Re:Plotting the source code “TODO” history of the most popul... by pc86 on Monday May 17, 2021 @07:29AM (#27182285)
Stupid question, is "TODO" in this instance case sensitive?
Re:Plotting the source code “TODO” history of the most popul... by tastroder on Monday May 17, 2021 @07:44AM (#27182373)
It's case sensitive by default, you can add -i/--regexp-ignore-case to disable that.
Re:Plotting the source code “TODO” history of the most popul... by thamer on Monday May 17, 2021 @04:31PM (#27188066)
You might also want -w for whole words, otherwise commits by your colleague Todor might cause some confusion.