helm/bin/git-stats.sh
Henrik Lissner bf2c16dac3 Append .sh to bin scripts
This help distinguish personal scripts from binaries in $PATH
2016-10-19 21:38:58 +02:00

12 lines
196 B
Bash
Executable file

#!/bin/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