mirror of
https://github.com/tj/git-extras.git
synced 2026-09-13 08:56:19 -04:00
Update bin/git-count
Use git-rev-list and builtin --count option $ time git log --oneline | wc -l 30613 real 0m0.858s user 0m0.684s sys 0m0.239s $ time git rev-list --count HEAD 30613 real 0m0.416s user 0m0.396s sys 0m0.018s
This commit is contained in:
parent
567aef7680
commit
867299c3d9
|
|
@ -5,4 +5,4 @@ if test "$1" = "--all"; then
|
|||
echo
|
||||
fi
|
||||
|
||||
echo total `git log --oneline | wc -l`
|
||||
echo total `git rev-list --count HEAD`
|
||||
|
|
|
|||
Loading…
Reference in a new issue