mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
9 lines
176 B
Bash
Executable file
9 lines
176 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if test "$1" = "--all"; then
|
|
git shortlog -n -s $@ | awk '{print substr($0,index($0,$2)) " (" $1 ")"}'
|
|
echo
|
|
fi
|
|
|
|
echo total `git rev-list --count HEAD`
|