helm/vcs/+git/bin/git-stats
2017-04-25 23:29:43 -04:00

12 lines
204 B
Bash
Executable file

#!/usr/bin/env bash
set -e
git rev-list --max-count=10 --reverse HEAD |
while read rev; do
git log --oneline -1 $rev
git ls-tree -r $rev |
awk '{print $3}' |
xargs git show
done