diff options
| -rwxr-xr-x | git-stats.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/git-stats.sh b/git-stats.sh index 63eab68..8e5e714 100755 --- a/git-stats.sh +++ b/git-stats.sh @@ -17,4 +17,6 @@ GIT_REPO=$1 cd $GIT_REPO -git shortlog -ns --no-merges | awk '{printf "%s:%s\n", $2, $1}' | asciigraph -l "$1" --color +shortlog=$(git shortlog -ns --no-merges) + +echo "$shortlog" | awk '{printf "%s:%s\n", $2, $1}' | asciigraph -l "$1" --color |
