Created
May 14, 2014 18:48
-
-
Save mmozuras/94df6ed621c768224c7a to your computer and use it in GitHub Desktop.
Bash script to see how fixes are trending in current repo (per committer)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in {0..24} | |
do | |
ii=$(($i + 1)) | |
fixes=`git log --since="${ii} months ago" --until="${i} months ago" | grep -i fix | wc -l` | |
committers=`git log --since="${ii} months ago" --until="${i} months ago" --pretty=format:"%an" | sort -u | wc -l` | |
echo `bc -l <<< "${fixes} / ${committers}"` | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment