aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/git-stats.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/git-stats.sh b/contrib/git-stats.sh
index 64a40402..2ee1d61d 100755
--- a/contrib/git-stats.sh
+++ b/contrib/git-stats.sh
@@ -22,3 +22,17 @@ while read -r commits author; do
done |
column -t -s ';' -N "$columns" -R "${columns#*,}" |
sed -r 's/[[:space:]]+$//'
+
+echo
+
+columns="Reviewer/Tester,Commits"
+
+git shortlog -sn \
+ --group=trailer:acked-by \
+ --group=trailer:tested-by \
+ --group=trailer:reviewed-by "$@" |
+while read -r commits author; do
+ printf '%s;%s\n' "$author" "$commits"
+done |
+column -t -s ';' -N "$columns" -R "${columns#*,}" |
+sed -r 's/[[:space:]]+$//'