Skip to content

Commit

Permalink
Added --all support to git-count
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Aug 4, 2010
1 parent 0b06c14 commit bb721be
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/git-count
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/env sh

if test "$1" = "--all"; then
git shortlog | grep "):" | sed 's|:||'
fi

echo total `git log --oneline | wc -l`

0 comments on commit bb721be

Please sign in to comment.