Update: Rewritten in Go https://github.com/kaihendry/lesshero ..though much slower due to go-git 😭
Usage example:
$ ./collect-stats.sh ~/suckless/dwm
1645 git commits
Progress : [########################################] 100%
./plot.sh dwm-3465bed.csv | gnuplot > dwm-3465bed.csv.svg
$ ./plot.sh dwm-3465bed.csv | gnuplot > dwm-3465bed.csv.svg
$ google-chrome-unstable dwm-3465bed.csv.svg
Using a proper SLOC counter is slow!
The trend (shape of the graph) is the same so I don't think it's worth counting or debating what is a SLOC.
SUCK LESS! Remember going down is better than up! Flat means stable.