helm/vcs/+git/bin/git-stats

12 lines
204 B
Plaintext
Raw Normal View History

2016-11-04 17:55:54 -07:00
#!/usr/bin/env bash
2015-12-08 22:42:27 -08:00
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