website: add log.sh tool

This commit is contained in:
Brad Fitzpatrick 2015-12-24 15:31:21 -08:00
parent 5db74384c5
commit 535b2783e6
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
#!/bin/bash
PREV=0.8
echo "$(git shortlog -e -s $PREV..HEAD | sed -e 's/^.*<//;s/>.*$//' | uniq | wc -l) total commiters over $(git log --format=oneline $PREV..HEAD | wc -l) commits since $PREV (), including $(i=0; git shortlog -s $PREV..HEAD | cut -c8- | fgrep ' ' | while read nm; do i=$(($i + 1)); if [ $i -ge 2 ]; then echo -n ', '; fi; echo -n "$nm"; done)."