diff options
| author | Teddy Wing | 2015-08-17 23:22:06 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2015-08-17 23:22:06 -0400 | 
| commit | 637c16eabbcd48c889b424edbf8823d10d9cb3f5 (patch) | |
| tree | 2649d25c37db9b7298c262e36a58dc47fd54d56b /git-stats.sh | |
| parent | d0160d35bf973090a1b2027855ad069b4495c36f (diff) | |
| download | git-stats-637c16eabbcd48c889b424edbf8823d10d9cb3f5.tar.bz2 | |
git-stats.sh: Move shortlog output to variable
Capture the shortlog output so we can use it later on.
Diffstat (limited to 'git-stats.sh')
| -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 | 
